A Web based Microservice developed with Golang and uses Gin-Gonic http framework for routing, GORM for interacting with Postgres DB
- Go lang -
version go1.13.6 darwin/amd64(https://golang.org/dl/) - Postgres for Mac -
brew install postgresql - Docker for Mac or Docker Desktop (https://docs.docker.com/docker-for-mac/install)
- Go Package Dependencies
go get -u github.com/gin-gonic/gingo get -u github.com/gogo/protobufgo get -u github.com/google/uuidgo get -u github.com/jinzhu/gormgo get -u github.com/spf13/vipergo get -u gopkg.in/birkirb/loggers.v1
- Clone the repo
- Create a database in Postgres named
hydrophonics - configure your host, port, password in - config.toml
- Using docker-compose run
docker-compose up --build
- Implement JWT for authentication
- Implement RBAC for authorization
- Dockerize to run it in a container
- add more attributes to existing tables