FastAPI
Last updated
Was this helpful?
Last updated
Was this helpful?
To see what you can do with FastAPI, watch the first 2 minutes of this video, "After model.fit, before you deploy: Prototype with FastAPI in Jupyter!" by Ryan Herr for JupyterCon 2020.
FastAPI is like Flask, but it automatically generates interactive docs for your API. So it gives you a simple frontend for "free"!
You can watch the 25 minute above to learn FastAPI step-by-step. All the code is at
In a recent Build Week, all 11 DS teams chose to use the scaffold, and all 11 successfully hit MVP (or beyond). The SL, who was recently hired, loved the scaffold, and said it was an “overall drastic improvement from my experience during BW.”
When we first piloted the scaffold in June 2020, a DS Unit 3 student said, “Thanks for letting my team use your template. It was awesome. I’m getting a lot of positive feedback for my API routes because your template made it easy to understand.”
As of January 2021, this is now our 7th Build Week with the DS scaffold. It’s well-tested and I’m confident it will help you succeed, during Build Week and more importantly, in the job market.
Want to learn more about FastAPI? I recommend these links:
If you choose to use FastAPI, you don't have to start from scratch! We have a template for you. Our "scaffold" has starter code & documentation:
Will your project use a database? This Colab notebook shows how to connect to your database:
by FastAPI's creator