https://github.com/vernu/express-graphql-2fa-auth
two factor authentication with node, express, and graphql
https://github.com/vernu/express-graphql-2fa-auth
2fa apollo auth express graphql mongodb nodejs prisma two-factor-authentication
Last synced: 11 days ago
JSON representation
two factor authentication with node, express, and graphql
- Host: GitHub
- URL: https://github.com/vernu/express-graphql-2fa-auth
- Owner: vernu
- Created: 2023-08-08T08:26:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-11T13:17:31.000Z (over 2 years ago)
- Last Synced: 2025-05-19T14:04:45.817Z (8 months ago)
- Topics: 2fa, apollo, auth, express, graphql, mongodb, nodejs, prisma, two-factor-authentication
- Language: TypeScript
- Homepage:
- Size: 68.4 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Installation and startup
1. Clone this repository.
2. Install dependencies using pnpm/yarn/npm:
```
pnpm i
```
3. copy the .env.example file to .env
```
cp .env.example .env
```
4. Update the DB_URL in .env
5. Start the server:
```
pnpm dev
```
or build and run in production mode:
```
pnpm build && pnpm start
```
6. Access the GraphQL Playground at http://localhost:9000/graphql.