- Node + Express + TS
- Apollo GraphQL
- MongoDB + Mongoose
- JSON Web Tokens (JWT)
- React
- Apollo GraphQL
curl -v -X POST localhost:3000/refresh_token --cookie "token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZTEwODBmNTViMDYxYzQ2NzQ2NjU1NDIiLCJpYXQiOjE1Nzg0NzY5NDQsImV4cCI6MjE4MzI3Njk0NH0.raAXexPGRlyLOmMzAq4iusfKEuCvlfgy1BOUv8Sfn5c; HttpOnly"
# Check database
docker exec -it node-auth_db_1 mongo -u admin -p secret jwt-auth
db.users.find({})