Skip to content

📦 Golang REST starter, dockerized

Notifications You must be signed in to change notification settings

antonybudianto/go-rest-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-rest-starter

A starter for a Golang REST API.

Getting started

You can use Docker and docker-compose for development

cp .env.example .env
docker-compose up

SSH

$ docker exec -it <container-id> /bin/sh
$ docker-compose exec api sh

Production

docker-compose -f docker-compose.production.yml build
docker-compose -f docker-compose.production.yml up

Credits

https://github.com/ilourt/gocker

License

MIT