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
Create api routes for accessing MockResource objects from the database. There exist some database services already in apps/backend/service.ts you must create the resource equivalent of each function and schema that you want to use.
ideas for routes:
router.get("/resources/:id",getQuizItemByIdasany)// GET method returning resource by idrouter.get("/resources/:title",getQuizItemByTitleasany)// GET method returning resource by topic
The text was updated successfully, but these errors were encountered:
Create api routes for accessing MockResource objects from the database. There exist some database services already in
apps/backend/service.ts
you must create the resource equivalent of each function and schema that you want to use.ideas for routes:
The text was updated successfully, but these errors were encountered: