Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create mobile client resource routes #26

Open
romanobro56 opened this issue Mar 5, 2025 · 0 comments
Open

Create mobile client resource routes #26

romanobro56 opened this issue Mar 5, 2025 · 0 comments

Comments

@romanobro56
Copy link
Collaborator

romanobro56 commented Mar 5, 2025

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", getQuizItemById as any) // GET method returning resource by id
router.get("/resources/:title", getQuizItemByTitle as any) // GET method returning resource by topic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant