This is a starter middleware project running on Node.js, Express, GraphQL, JSON Web Tokens, Passport and Mongoose. It's intended as a quick start to get an app middleware up and running quickly.
This project is configured with ESLint Javascript linting.
To configure edit .eslintrc, full configuration options can be found at http://eslint.org/
This project makes use of the pre-commit module to ensure changes cannot be pushed to the GIT repo unless they pass the Javascript linter.
It is pre-configured to check ESLint, for more configuration options see https://github.com/observing/pre-commit
Uses express
Configuration settings are held within config.js. Set at deployment time?
Add new routes within router.js
During development start the server using:
npm run dev
The server will then automatically restart as files change.