/api-design-node-express-l2

Practice Project: API Design in Node with Express - Lesson 2 / Exercise 1

Primary LanguageJavaScript

API design in Node.js with Express, v3

Practice Project - Lesson 2 / Exercise 1

Routing

  • test command - npm run test-routes

This exercise will have you creating routes and sub routers for our soon the be DB resources using Express routing and routers

  • create a router for the Item resource
  • create full crud routes and create placeholder controllers
  • mount router on the root server
  • ensure all tests pass by running test command