REST API service for the Shoppie shopping list app. Includes eslint and prettier for linting/code formatting, nodemon for automatic server restarting, and Jest for testing.
npm install
npm run dev
npm start
Runs on localhost:8080
by default but can be configured using the PORT
environment variable.
You should also be running a MongoDB server either locally or with Docker and the environment variable MONGO_URI
should be set in a .env
file or in your console environment
npm test
# Watch repo
npm run test:watch
npm run lint
# fix issues
npm run lint:fix