- CRUD user food-trails
- Stores user created food locations based on lat and lng
- Fork and Clone Repo
npm install
- Start server:
npm run dev
- jest tests:
npm test
ornpm run test:watch
- if running local mongo DB:
mongod --dbpath /yourMongoDBPath
This JWT Token authorisation based server/database is designed to create, read, update and delete user food locations.
- To use jwt passport authentication, .env file containing the passport secret is required.
- user.js
- locations.js
- refer to api help for information on routes