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

Change backend to use Django Rest Framework #179

Merged
merged 5 commits into from
Jun 30, 2023
Merged

Change backend to use Django Rest Framework #179

merged 5 commits into from
Jun 30, 2023

Conversation

mihow
Copy link
Collaborator

@mihow mihow commented Jun 29, 2023

This feels like we are going backward in time, but developing with FastAPI and other options have resulted in too much bespoke code and development is too slow for many of the boilerplate features we need like CRUD endpoints, URL routing, pagination, filtering, authentication, database migrations, management commands, and so on. The Django Rest Framework is bullet tested for security, trusted by large organizations (e.g. Google) and has 1000s of implementation examples. This especially useful for woking on a team of developers with mixed skill levels. The long history of Django and DRF also means that GitHub Copilot works quite well for suggesting common patterns. Performance may be slower when using the ORM & dynamic viewsets, but I believe we can overcome this identifying the endpoints and queries that need to be optimized once the MVP is usable and the application design is more solidified. We can leverage background tasks, materialized views and caching to ensure the final experience is fast and efficient, while also keeping maintenance and expansion of the app easy and enjoyable.

@netlify
Copy link

netlify bot commented Jun 29, 2023

Deploy Preview for ami-web ready!

Name Link
🔨 Latest commit 3d75af6
🔍 Latest deploy log https://app.netlify.com/sites/ami-web/deploys/649e1d8b424a7e00081ca19c
😎 Deploy Preview https://deploy-preview-179--ami-web.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Jun 29, 2023

Deploy Preview for ami-storybook ready!

Name Link
🔨 Latest commit 3d75af6
🔍 Latest deploy log https://app.netlify.com/sites/ami-storybook/deploys/649e1d8bd96c120008cb38d1
😎 Deploy Preview https://deploy-preview-179--ami-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mihow mihow merged commit 319f42a into main Jun 30, 2023
@mihow mihow deleted the new-backend branch August 14, 2023 23:34
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

Successfully merging this pull request may close these issues.

1 participant