- Go v1.20
- Gin Gonic Web Framework
- GORM as ORM written in Go
- Postgresql as RDBMS
- Testify as a toolkit for assertion, mocking, etc.
- Clone this repository
- Type on your terminal
cd Delos-AquaFarm/
- Make a
.env
file - Copy all key from
.env.example
file to.env
file. Fill all the blank value with your credential - Turn on the storage by typing this command on terminal :
docker-compose -f docker-storage.yaml up -d
- To run all test on the application, type this command on terminal :
GIN_MODE=release go test ./... -v
- To run the application. type this command on terminal :
go run main.go
All API documentation can be accessed on public postman documenter.