Mount Examples - Repository #2305
Unanswered
hasansezertasan
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, hope you're doing well. 😊
I'd like to introduce a small project I've been playing with. 🌱 a2wsgi-examples🚀 has a collection of examples showing how to mount applications built with ASGI/WSGI web frameworks to a FastAPI application.
Check out the repository for more information 🤓.
A little backstory: I'm fascinated by Starlette and its features. I met with it this year thanks to FastAPI. I was planning to switch from Flask to FastAPI and I had an Admin Panel built with Flask Admin. I discovered this feature of Starlette and just mounted it into a dummy application, it worked! At first, I was using the same routes from Flask, but slowly I rewrote those with FastAPI. The day came, and I finished the migration. I can say that it indeed helped me a lot. Switching from a backend that has +20K lines of code was intimidating, but with less than 10 lines of code, I was able to start my migration process. I started migration and line by line, here I am! 🚀 (My code base is now less than 15K)
Beta Was this translation helpful? Give feedback.
All reactions