Skip to content

opsfarmer/jwt-mysql-auth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auth using JWT and MySql in Gin-Gonic.

1. Clone the repo

git clone git@github.com:parikshitg/jwt-mysql-auth.git

2. Build

go build

3. Go Get the missing packages

go get 

4. Run

./jwt-mysql-auth

Directory Structure

handlers

This directory consist all the handlers code of the website. There are 4 handlers Login, Register, Logout & Welcome.

Models

This consists of nysql functions.

Static

This consists of static files (css/js/images).

Views

This consists of all the html template files.

About

Jwt Auth using mysql in Gin-Gonic.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 52.3%
  • HTML 45.9%
  • CSS 1.2%
  • JavaScript 0.6%