Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/makarov-danil-school-projects-ctu/pet-simple-auth-graphql
https://github.com/makarov-danil-school-projects-ctu/pet-simple-auth-graphql
apollo-client express graphql-server mongodb nodejs passport-js react
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/makarov-danil-school-projects-ctu/pet-simple-auth-graphql
- Owner: Makarov-Danil-School-Projects-CTU
- Created: 2024-08-27T00:21:01.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-27T00:29:13.000Z (5 months ago)
- Last Synced: 2025-01-02T00:09:26.995Z (19 days ago)
- Topics: apollo-client, express, graphql-server, mongodb, nodejs, passport-js, react
- Language: JavaScript
- Homepage:
- Size: 94.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Auth GraphQL App
## How to start?
1. Provide env variables with .env file (DB_USERNAME, DB_PASSWORD, DB_NAME)
2. run `npm run dev`## Features
1. Implemented sign-in/sign-up and log-out with GraphQL and React.
2. We use queries like fetching currentUser and mutations for sign-in/sign-up and log-out operations.
3. A High Order Component in React (HOC) was implemented for Route protection.
4. We use PassportJS on the backend and MongoDB for auth handling.