-
server by default running on :9100 port and postgres db running on :5432 port
-
database mounting data in project directory /db/data
http://localhost:9100/swagger/index.html
go mod download
docker-compose up -d --build
migrate create -ext sql -dir db/migrations name_of_migration
swag init
-
Gin framework with inner http server (https://gin-gonic.com/)
-
ORM library (https://github.com/jinzhu/gorm)
-
migration library and CLI (https://github.com/golang-migrate/migrate)
-
extension of gorm for pagination (https://github.com/biezhi/gorm-paginator)
-
swagger docs (https://github.com/swaggo/swag)
-
docker-compose (https://docs.docker.com/compose/)