Skip to content

ninjawerk/go-rest-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple REST API boilerplate for Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages