Skip to content

AppsComTr/go-api-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-api-boilerplate

This boilerplate project is based on @corylanou's "tns-restful-json-api" project. Contains middleware mechanism with "Authentication Middleware" example and JWT encoding and decoding examples.

Usage

  • You can define new routes or modify existing ones in "routes.go" file. You need to sepecify name, method (GET, POST, PUT...), pattern, handler and middleware (if you will use otherwise nil) of a route.
  • You can write your handler functions in "handler" folder, middlewares in "middleware" folder and models in "model" folder and use them after import these packages to relevant go files.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages