golang-rest-api-sample

command module
v0.0.0-...-fb0b0ba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2016 License: MIT Imports: 12 Imported by: 0

README

REST API Sample Write in Go

Project Features

  • 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

Project Dependencies

  1. Install Golang (tested with Go 1.6)
  2. Install Glide as package manager
  3. Install and run MongoDB service on your localhost for storing data

How to use from this sample project

Clone the repository
git clone https://github.com/atahani/golang-rest-api-sample.git
cd golang-rest-api-sample
Install dependencies via glide
glide install
Build, serve or test using make
make build
make serve
make test

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
controller

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL