Stop wrestling with boilerplate code. Learn how FastAPI's automatic docs and data validation let you build high-performance Python backends faster.
#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
02:03 MIN
What is FastAPI and why is it so popular
Intro to FastAPI
03:26 MIN
Q&A on the design philosophy and future of FastAPI
Intro to FastAPI
02:30 MIN
Achieving high performance with async support
Intro to FastAPI
04:04 MIN
Q&A on serverless, GitHub issues, and Python evolution
Intro to FastAPI
02:23 MIN
Exploring advanced features like dependency injection
Intro to FastAPI
01:09 MIN
Case study: Accelerating development with REST and OpenAPI
All the videos of Halfstack London 2024!Last month was Halfstack London, a conference about the web, JavaScript and half a dozen other things. We were there to deliver a talk, but also to record all the sessions and we're happy to share them with you. It took a bit as we had to wait for th...
Luis Minvielle
The 7 Most Popular Backend Frameworks for DevelopersWhich backend frameworks should developers focus on in 2024? We’re listing the 7 most popular for you and showing their advantages and drawbacks. Which one is the best? There is no clear winner in the best-backend-framework competition for 2024. They...
Ashutosh Mishra
20 Essential Tools For Backend DevelopmentWhat is Backend Development?There are two aspects of a website - frontend and backend. Frontend deals with everything that happens on the screen while Backend development involves everything that happens behind the screen. It involves setting up the ...
Chris Heilmann
Processing 175 WeAreDeveloper World Congress talk videos in 5 hours - with PHP?Every year after the WeAreDevelopers World Congress is over, we have a ton of video footage to edit and release. Most of it is in raw format and needs editing by hand, but a lot of our sessions are also streamed live on YouTube and thus easier to re-...
From learning to earning
Jobs that call for the skills explored in this talk.