You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your task is to create backend routes for some of the tables. These routes will be used as a way to retrieve and put information into the corresponding tables.
Instructions
Add the backend .env file in /server (can be found here)
Place routes inside a file named class_videos.js located in /server/routes/
make sure each set of routes per table, are in their corresponding files
i.e. Class routes should be in a class.js file and class_enrollments routes should be in a class_enrollments.js
feel free to check out the Sample CRUD Routes that were already provided
Description
Instructions
.env
file in/server
(can be found here)class_videos.js
located in/server/routes/
Class
routes should be in aclass.js
file andclass_enrollments
routes should be in aclass_enrollments.js
.env
file if you don’t have it already)classVideosRouter
inserver/src/app.ts
similarly to how it's currently addingusersRouter
Notes
Acceptance Criteria
Output
columnPOSTMAN
testingResources
The text was updated successfully, but these errors were encountered: