Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 854 Bytes

README.md

File metadata and controls

40 lines (30 loc) · 854 Bytes

techgames-api-challenge

Requirements

Env variables:

  • SECRET for the Auth secret passed from frontend to backend
  • SERVER_PORT for the port on which the server listens
  • NODE_ENV should be dev or production
  • DB_URL is the URL to the mongo DB

Instructions

  • To install dependencies (not needed for running server but helps with development)
npm install
  • To run a dev server:
npm start
  • To run the tests:
npm run test
  • To run linter:
npm run lint

API Documentation

After running the dev server, docs will be at http://localhost:3000/api-docs