An open API service indexing awesome lists of open source software.

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

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.