https://github.com/arthur199212/jwt-auth-graphql
Technologies: Node, Express, TypeScript, MongoDB, Apollo Server, React, Apollo Client, JWT.
https://github.com/arthur199212/jwt-auth-graphql
apollo-client apollo-server docker-compose express joi-validation jwt-auth mongodb node react typescript
Last synced: 3 months ago
JSON representation
Technologies: Node, Express, TypeScript, MongoDB, Apollo Server, React, Apollo Client, JWT.
- Host: GitHub
- URL: https://github.com/arthur199212/jwt-auth-graphql
- Owner: Arthur199212
- Created: 2020-01-04T08:22:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-22T13:45:17.000Z (over 3 years ago)
- Last Synced: 2025-06-23T19:42:21.611Z (about 1 year ago)
- Topics: apollo-client, apollo-server, docker-compose, express, joi-validation, jwt-auth, mongodb, node, react, typescript
- Language: TypeScript
- Homepage:
- Size: 729 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jwt-auth-graphql
### :construction: 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
```sh
curl -v -X POST localhost:3000/refresh_token --cookie "token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZTEwODBmNTViMDYxYzQ2NzQ2NjU1NDIiLCJpYXQiOjE1Nzg0NzY5NDQsImV4cCI6MjE4MzI3Njk0NH0.raAXexPGRlyLOmMzAq4iusfKEuCvlfgy1BOUv8Sfn5c; HttpOnly"
```
### docker
```sh
# Check database
docker exec -it node-auth_db_1 mongo -u admin -p secret jwt-auth
db.users.find({})
```