Skip to content

an api project to understand restapis in go and jwt authentication using cookies

License

Notifications You must be signed in to change notification settings

Roygebrayel/jwt-go

Repository files navigation

Project Title

an api project to understand restapis in go and jwt authentication using cookies

Authors

API Reference

validate user

  curl http://localhost:3000/signup

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

DB

SECRET (for jwt)

PORT (3000)

Installation

Install jwt-go with go get

  go get github.com/Roygebrayel/jwt-get
  cd jwt-go

License

MIT

Tech Stack

Server: Go , GORM , Gin , jwt-go , Bcrypt

libraries

GORM : GORM

GIN : [GIN] (https://gin-gonic.com/)

JWT : [JWT] (https://github.com/golang-jwt/jwt)

Dotenv : [Dotenv] (https://github.com/joho/godotenv)

compiler daemon : [daemon] (https://github.com/githubnemo/CompilerDaemon)

Bcrypt : [Bcrypt] (https://pkg.go.dev/golang.org/x/crypto/bcrypt)

About

an api project to understand restapis in go and jwt authentication using cookies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages