Golangjwt

An experiment to understand Golang JWT.

How to run the project locally

  • clone the repo

cd golangjwt
go run main.go

Endpoints available

The server runs on port 9000 and can be accessed with the following end-points-

  • user signup
http://localhost:9000/users/signup
  • user login
http://localhost:9000/users/login
  • get all users
http://localhost:9000/users
  • get individual user
localhost:9000/users/:id

GitHub

View Github