JWT Authentication in a full-stack application using Next.js, GraphQL, Node.js, Mongodb writing in Typescript.
- Node V10.15+
- Clone or download this repo and then run "npm install" to install all dependencies
- Set up mongodb database, mongodb atlas is recommended.
- Create .env file in the root of the project. Set up these environment variables DB_USER, DB_PASSWORD, DB_ENDPOINT, DB_NAME, PORT