/-2fa-graph-ql

two factor authentication with node, express, and graphql

Primary LanguageTypeScript

Installation and startup

  1. Clone this repository.
  2. Install dependencies using pnpm/yarn/npm:
pnpm i
  1. copy the .env.example file to .env
cp .env.example .env
  1. Update the DB_URL in .env

  2. Start the server:

pnpm dev

or build and run in production mode:

pnpm build && pnpm start
  1. Access the GraphQL Playground at http://localhost:9000/graphql.