A basic project made in Go to show how JWT authentication can be implemented in the language
- Clone repo
- Step into project directory and execute: go get ./...
- go run main.go
Endpoint: POST http://localhost:8000/signin Payload: {"username":"user1","password":"password1"}
Endpoint: GET http://localhost:8000/welcome
Endpoint: POST http://localhost:8000/refresh