/graphql-with-auth

Adding authentication your GraphQL endpoint

Primary LanguageJavaScriptMIT LicenseMIT

GraphQL with Authenticaltion

A GraphQL API with authentication, using mongoDB, Express, apollo-server-express. To start the app you need to have mongoDB install in your computer.

Installing MongoDB

window : https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/ Mac: https://treehouse.github.io/installation-guides/mac/mongo-mac.html

installing app packages

change DIR to the app DIR and run the command.
npm install

starting Dev server

npm run dev

starting production server

npm run start

checking lint

npm run lint