Closed DavidLarsKetch closed 6 years ago
This pull request initializes all routes/ files necessary for the API
routes/
1
Fixes #13
This solves the fact that we didn't have the routes needed for app.js
routes
app.js
Describe the proposed changes.
routes/index.js
require
employees/
products/
router
express.Router()
Description
This pull request initializes all
routes/
files necessary for the APINumber of Fixes
1
Related Ticket(s)
Fixes #13
Problem to Solve
This solves the fact that we didn't have the
routes
needed forapp.js
Proposed Changes
Describe the proposed changes.
Expected Behavior
routes/index.js
shouldrequire
each file inemployees/
&products/
and exportrouter
employees/
&products/
should initialize anexpress.Router()
, with the name of the router matching the file, and export that routerSteps to Test Solution