joseesco24 / users_crud_api_go

A really simple CRUD GraphQL API based on Docker and Golang.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Users Crud Api Python

A really simple CRUD GraphQL API based on Docker and Golang.

Note: In develop mode and running locally the docs are available at this url


Project Commands

Note: Before running any of these commands be sure that your CWD is users_crud_api_go/src directory.

Run App

go run main.go

Download Dependencies

go mod download

Clean Unused Dependencies

go mod tidy

Update Dependencies

go get -u

Docker Project Commands

Note: Before running any of these commands be sure that your CWD is users_crud_api_go directory.

Docker Login Into Github Container Registry

docker login -u joseesco24 -p < authentication token > ghcr.io

Docker Push The Image To Github Container Registry

docker push ghcr.io/joseesco24/users_crud_api_go:latest

Docker Pull The Image From Github Container Registry

docker pull ghcr.io/joseesco24/users_crud_api_go:latest

Docker Compose Project Commands

Note: Before running any of these commands be sure that your CWD is users_crud_api_go directory.

Docker Compose Build Image Using Compose File

docker-compose -f compose.build.yaml build

Docker Compose Start Dbs Services Using Compose File

docker-compose -f compose.databases.yaml up

Docker Compose Stop Dbs Services Using Compose File

docker-compose -f compose.databases.yaml down

Docker Compose Start Project Using Compose File

docker-compose -f compose.project.yaml up

Docker Compose Stop Project Using Compose File

docker-compose -f compose.project.yaml down

About

A really simple CRUD GraphQL API based on Docker and Golang.

License:The Unlicense


Languages

Language:Go 71.3%Language:Dockerfile 28.7%