Categorygithub.com/devisions/go-mux-jwt-gorm-starter
module
0.0.0-20200907202924-5e14d7d9040e
Repository: https://github.com/devisions/go-mux-jwt-gorm-starter.git
Documentation: pkg.go.dev

# README

Starter Project for Go using Mux, JWT, and GORM

This is a starter project for a GoLang implementation of an HTTP (such as RESTful) API using:

  • Gorilla Mux - as the HTTP router
  • JWT - JSON Web Tokens, one of the popular standard for protecting endpoints
  • GORM - the ORM layer, used for a high-level interaction with the database

Setup

In terms of prerequisites:

  • The dependencies are managed by Go Modules, so this is taken care implicitly (no manual action required)
  • For restarting on changes (the process is restarted, we don't aim for "live reloading" now), air utility is used in the run script. Just install this tool using go get -u github.com/cosmtrek/air.

Run

TODO: add air setup For now, the classic way go run cmd/server.go does the job.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author