GraphQL Auth Template

Small template with user authentication in Apollo Server.

Apollo Logo

GraphQL Logo

MongoDB Logo

Author 👨‍💻


Environment ⚙️

MONGODB_URI=<YOUR MONGODB URI>
JWT_SECRET=<SECRET WORD>

Installation and Usage 💻

  • To install the dependencies we will locate ourselves in the repository folder and execute the following command:

    npm install
    
  • To start the server we will execute the following command:

    npm start 
        or
    npm run dev
    

GitHub

View Github