Building Web Applications with Django and FastAPI: Combining the Best of Both Worlds
<p>In python ecosystem there are multiple frameworks available for making a robust backend. Django and FastAPI are the most popular ones. Django comes with many out-of-the-box features such as ORM, Middleware, Authentication, Admin Panel etc. FastAPI on the other hand comes with Async-ready support and is a super fast, lightweight framework to generate Rest APIs.</p>
<p>The aim of this article is to explore how to leverage power of both frameworks in production. We will first be setting up a simple Django App and then will move towards integrating FastAPI.</p>
<p><em>Note: This article assumes that you are familiar with both frameworks and SQLAlchemy and have used them in past projects.</em></p>
<h2><strong>Django Part</strong></h2>
<p>I will be assuming that you have base django project ready at your end, if not please keep it ready before going forward. Here is the tutorial for doing so Your First Steps With Django: Set Up a Django Project — Real Python.</p>
<p><a href="https://medium.com/@mohanishp1/building-web-applications-with-django-and-fastapi-combining-the-best-of-both-worlds-1892719a8b9d">Visit Now</a></p>