export POSTGRES_USER=<value>
export POSTGRES_PASSWORD=<value>
export POSTGRES_DATABASE=<value>
export POSTGRES_HOST=<value>
export PORT=<value>go build -o server cmd/main.go./serveryou can find swagger docs on
http://localhost:<port>/v1/swagger/index.html
- run
docker-compose.ymlfile
export db_password=<value>docker-compose up --build -d- to check the status of the pods
docker-compose ps- you can test the API using swagger navigate to
http://localhost:8080/v1/swagger/index.html