repository
0.0.0-20240626153409-143e19edde71
Repository: https://github.com/437d5/jwt-auth.git
Documentation: pkg.go.dev
# README
JWT-Auth Microsevice
To start it you have to clone it with:
git clone https://github.com/437d5/jwt-auth
Then u have to create .env file in root directory with this structure:
The next step is to start MongoDB and create database, collection and user also you need to specify two new unique inedexes to escape user duplicates.
db.users.createIndex({"name": 1}, {"unique": true})
db.users.createIndex({"email": 1}, {"unique": true})
After it
go mod tidy
go build cmd/main/main.go
./main
You can check it out using evans gRPC client
https://github.com/ktr0731/evans