Ashmi Banerjee
Build your backend using FastAPI
#1about 2 minutes
Prerequisites and agenda for the FastAPI talk
The talk requires a basic understanding of Python and web development concepts to cover web architecture, framework comparisons, and a FastAPI implementation.
#2about 2 minutes
Understanding modern versus traditional web architecture
Web architecture has shifted from monolithic servers rendering all HTML to a modern approach using a CDN for static assets and APIs for dynamic JSON data.
#3about 6 minutes
Comparing Django, Flask, and FastAPI frameworks
Django is a full-stack framework, Flask is a lightweight alternative, and FastAPI excels at building modern APIs with less boilerplate code.
#4about 1 minute
Exploring the key features and benefits of FastAPI
FastAPI offers automatic interactive documentation via Swagger UI, asynchronous operations for performance, and built-in data validation to simplify development.
#5about 5 minutes
Implementing an ML image classifier with FastAPI
Learn how to serve a machine learning model by creating GET and POST endpoints in FastAPI to handle image URL input and return predictions as JSON.
#6about 2 minutes
Running the server and demonstrating the API
The application is run using Uvicorn, and a live demo shows how to interact with the API endpoints directly in the browser using the auto-generated documentation.
#7about 1 minute
Preparing your FastAPI application for production
Key steps after development include writing thorough tests, containerizing the application with Docker, and deploying it to a cloud service for accessibility.
#8about 2 minutes
Recap and audience questions on FastAPI
The talk concludes with a summary of FastAPI's benefits and a Q&A session covering comparisons to TensorFlow Serve and the use of async functions.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
09:10 MIN
How AI is changing the freelance developer experience
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
04:09 MIN
How Python became the dominant language for AI
AI in the Open and in Browsers - Tarek Ziadé
03:07 MIN
Final advice for developers adapting to AI
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
04:28 MIN
Building an open source community around AI models
AI in the Open and in Browsers - Tarek Ziadé
02:49 MIN
Using AI to overcome challenges in systems programming
AI in the Open and in Browsers - Tarek Ziadé
08:29 MIN
How AI threatens the open source documentation business model
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
08:07 MIN
Exploring modern JavaScript performance and new CSS features
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
04:57 MIN
Increasing the value of talk recordings post-event
Cat Herding with Lions and Tigers - Christian Heilmann
Featured Partners
Related Videos
Intro to FastAPI
Sebastián Ramírez
The Great API Debate: REST, GraphQL, or gRPC?
Alexis Yushin
1, 2, 3... Fastify!
Matteo Collina
REST in Peace? What does the API protocol of the future look like? Or do we have it already?
Simon Auer
Devouring APIs with Python
Shweta Palande
API = Some REST and HTTP, right? RIGHT?!
Rustam Mehmandarov
No more Node: Build APIs with Flask and test it with Postman
Teri Eyenike
OpenAPI meets OpenAI
Christopher Walles
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Client Server
Charing Cross, United Kingdom
Remote
£80-90K
Azure
Python
FastAPI
+4

UNITY AG
Lippstadt, Germany
Azure
Julia
Python
FastAPI
Amazon Web Services (AWS)


Eltemate
Amsterdam, Netherlands
Intermediate
Senior
TypeScript
Automated Testing
Continuous Integration

Visonum GmbH
Remote
Junior
Intermediate
React
Redux
TypeScript

Patronus Group
Berlin, Germany
Senior
Kotlin
Spring Boot
Amazon Web Services (AWS)


