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

Clean up existing API code + Implement the rest of our REST API #90

Open
5 tasks
Austin2Shih opened this issue Jun 23, 2024 · 0 comments
Open
5 tasks
Assignees

Comments

@Austin2Shih
Copy link
Contributor

Austin2Shih commented Jun 23, 2024

There should only be two things:

  • collections
  • media

For each of these, check and test:

  • _datalib
  • _api
  • _actions

Note You will likely want to refer to hack davis judging app code's backend to see what decent API code looks like. Please build on top of our decent practices by adding your own good practices. DO NOT treat the hack davis judging app code as if it's a complete source of truth since much of that code is not perfect. Just use it as a source of inspiration.

Also, please check on these parts in the order I listed (datalib, api, actions). Some of these things might not exist so create them.

For building out the REST API, follow this guide here for CRUD conventions, we are just doing POST, PUT, GET, DELETE

Image

@Austin2Shih Austin2Shih changed the title Clean up existing API code Clean up existing API code + Implement the rest of our REST API Jun 23, 2024
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

2 participants