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

[Backend] Convert API endpoints to rest framework #115

Open
ryanrrogers opened this issue Mar 27, 2024 · 2 comments
Open

[Backend] Convert API endpoints to rest framework #115

ryanrrogers opened this issue Mar 27, 2024 · 2 comments
Assignees
Labels

Comments

@ryanrrogers
Copy link
Member

*** This task must be completed before the unit testing for backend task (#114 )

Currently, most of our API endpoints are using basic http rather than rest framework. Rest framework is a modern solution for building APIs with django. Rest framework provides the tools necessary to build a sustainable and performance-oriented API for Balancer.

Objectives:

  1. Convert existing HTTP API views to class-based rest framework views.
  2. Ensure API views are relevant to necessary functions of Balancer application.
  3. Enhance and overhaul any outdated views.
@ryanrrogers ryanrrogers changed the title Convert API endpoints to rest framework [Backend] Convert API endpoints to rest framework Mar 27, 2024
@lb-cake
Copy link
Collaborator

lb-cake commented Apr 12, 2024

@taichan03 are there any views that might need to be skipped here? I'd like to take this one on if possible

@taichan03
Copy link
Collaborator

@lb-cake Hey, Feel free to reach out to Ryan to see which one to convert. We also need an endpoint that can response with a list of meds currently in the system. Do you want to work on that? You can build it with DRF and that is very similar work to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants