- Golang v1.16 or newer
- JWT-GO v3.2.0
- Gin CORS v1.3.1
- Go Playground Validator v10.4.1
- Go SQL Driver v1.6
- Crypto v0.0.0-20210421170649-83a5a9bb288b
- Set at environment variables:
GIN_MODE=release
go get -d -v
go install -v
./tthk-wish-list
- Server should run on port 8080.
go get -d -v
go run .
ORgo build . && ./tthk-wish-list
Using Dockerfile, you just need to define GIN_MODE
environment variable.