Skip to content

Technologies: Node, Express, TypeScript, MongoDB, Apollo Server, React, Apollo Client, JWT.

Notifications You must be signed in to change notification settings

Arthur199212/jwt-auth-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jwt-auth-graphql

🚧 The App is under construction ...

Technologies

Back-End

  • Node + Express + TS
  • Apollo GraphQL
  • MongoDB + Mongoose
  • JSON Web Tokens (JWT)

Front-End

  • React
  • Apollo GraphQL

curl

curl -v -X POST localhost:3000/refresh_token --cookie "token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZTEwODBmNTViMDYxYzQ2NzQ2NjU1NDIiLCJpYXQiOjE1Nzg0NzY5NDQsImV4cCI6MjE4MzI3Njk0NH0.raAXexPGRlyLOmMzAq4iusfKEuCvlfgy1BOUv8Sfn5c; HttpOnly"

docker

# Check database
docker exec -it node-auth_db_1 mongo -u admin -p secret jwt-auth
db.users.find({})

Releases

No releases published

Packages

No packages published