modulepackage
0.0.0-20221022084713-bf262bbf02e9
Repository: https://github.com/yasszu/go-jwt-auth.git
Documentation: pkg.go.dev
# README
JWT Server
Libraries
Getting Started
Run Server
-
Run containers
make run
-
Run tests
make test
-
Stop containers
make stop
API
POST /signup
curl --location --request POST 'localhost:8888/signup' \
--form '[email protected]' \
--form 'password=test12345' \
--form 'username=user1'
POST /login
curl --location --request POST 'localhost:8888/login' \
--form '[email protected]' \
--form 'password=test12345'
POST /v1/me
curl --location --request GET 'localhost:8888/v1/me' \
--header "Authorization: Bearer $JWT_TOKEN"
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author