- 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
- Write unit test for API endpoint and middlewares
- Using glide as package manager
- Install Golang (tested with Go 1.6)
- Install Glide as package manager
- Install and run MongoDB service on your localhost for storing 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