Golang Rest Api with Docker
- Golang
- Gin
- Test
- Mvc Design
- Restapi
let's start
for build
docker-compose up --build
start
docker-compose up
stop
docker-compose down
for run unit-test
go test ./tests/ -v
We replicated the application from 2 separate ports via docker-compose
App is ready.
why two ports ?
- for high traffic (desire state)