- gin framework:
go get -u github.com/gin-gonic/gin
- ORM library:
go get -u gorm.io/gorm
- to authenticate and generate our JWT:
go get -u github.com/golang-jwt/jwt/v4
- to help manage our environment variables:
go get -u github.com/joho/godotenv
- to encrypt our user's password:
go get -u golang.org/x/crypto
- to use mysql:
go get -u gorm.io/driver/mysql
-
Notifications
You must be signed in to change notification settings - Fork 0
sunny0714/jwt-auth
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Go REST API with JWT(JSON Web Token) Authentication in Gin Framework
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published