This is a demo project to guide you and show you an example of how can you use db-mock
run seed script
./node_modules/.bin/db-mock seed
run api-mocks
node api-mocks/
- GET /students
- GET /students/:id
- POST /students
- PUT /students/:id
- DELETE /students/:id
- GET courses/:courseID/students
- GET /courses
- GET /courses/:id
- POST /courses
- PUT /courses/:id
- DELETE /courses/:id
- GET students/:studentID/courses