go-rest-boilerplate

command module
v0.0.0-...-315cdd5 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

README

GoRestBoilerPlate

A simple REST API boilerplate for Go

Why use this boilerplate

This project has the following features:

  • Fast routing with Gin
  • JWT middleware Included
  • User authentication routes added
  • GORM, Go ORM added with support for multiple databases
  • Secure route authorization using user roles
  • Simple project structure

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

go get ...
go run main.go
Prerequisites

Go environment must be setup.

Built With

  • Gin - HTTP web framework
  • GORM - ORM library for Golang

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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