Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 738 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 738 Bytes

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