Skip to content

Authentication system using NextJS, GraphQL, Apollo Client, Apollo Server, MongoDB, Nginx, Docker, Docker-Compose and Kubernetes

Notifications You must be signed in to change notification settings

nreoch25/nextjs-graphql-auth

Repository files navigation

NextJS GraphQL Auth

Authentication system boilerplate application using NextJS, GraphQL, MongoDB, and Nginx

You will need a .env file in the server directory with the following environment variables

MONGO_URI - URI pointing to your mongodb instance CLIENT_URI - Client side URI JWT_SECRET - Secret for jsonwebtoken PORT - GraphQL server port MAIL_HOST - Mailtrap host MAIL_PORT - Mailtrap port MAIL_USER - Mailtrap user MAIL_PASS - Mailtrap password 

To run in development mode

$ docker-compose up

NOTE: There is a production deployment pipeline setup with TravisCI, DockerHub, and AWS Elastic Beanstalk. I can supply full instructions if needed to get you setup for the production deployment pipeline

Releases

No releases published

Packages

No packages published