- using echo as high performance framework
- implement custom Error Handling
- implement OAuth Authentication mechanism
- using JWT as Token via jwt-go package
- implement Role base authorization
- wtire unit test for API endpoint and middlewares
- using glide as package manager
- install Golang run and tested in Go 1.6
- install Glide as package manager
- have MongoDB instance in your localhost for store data
git clone https://github.com/atahani/golang-rest-api-sample.git
cd golang-rest-api-sample
glide install
make build
make serve
make test