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

FastAPI backend #109

Merged
merged 57 commits into from
Dec 26, 2024
Merged

FastAPI backend #109

merged 57 commits into from
Dec 26, 2024

Conversation

mariusandra
Copy link
Collaborator

@mariusandra mariusandra commented Dec 16, 2024

Migrating from flask to FastAPI. There are many reasons why, but tldr: asyncio and decent websocket support. I couldn't get socketio working with non-socketio with Flask (and gevent). Time to ditch flask and use the new tools. Moving the backend to nim is still a possibility, but for another day as it's a larger undertaking. I'll start small with the frame's own webserver.

  • Migrations
  • Tasks
  • Get auth working again
  • Websocket auth
  • Template images
  • Tests
  • Background jobs
  • Migrations again
  • Hide empty cells doesn't work
  • Run through everything
  • Build docker and test upgrading with migrations
  • Newsletter signup
  • Test repository api
  • Template images

@mariusandra mariusandra merged commit 4454e46 into main Dec 26, 2024
4 checks passed
@mariusandra mariusandra deleted the fastapi-gradual branch December 26, 2024 23:45
@mariusandra
Copy link
Collaborator Author

This took longer than expected. It's done now. I tested everything thoroughly, and hope nothing broke. Yet with such large changes it's hard to get everything, so please report.

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