Skip to content

JWT Authentication in Golang REST-APIs using Fiber Web Framework, PostgreSQL DB and GORM.

License

Notifications You must be signed in to change notification settings

0xPuncker/go-jwt-auth-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-jwt-auth-api

License: MIT

Simple Rest API in Golang with JWT Authentication, Fiber Web Framework, PostgreSQL DB with GORM.

Prerequisites:

🛠️ Installing Packages:

go mod init <repository_name>
go get github.com/gofiber/fiber/v2
go get gorm.io/gorm
go get gorm.io/driver/postgres
go get github.com/golang-jwt/jwt
go mod tidy

💻 How to run

go run main.go

About

JWT Authentication in Golang REST-APIs using Fiber Web Framework, PostgreSQL DB and GORM.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages