Getting Started with FastAPI
Published by O'Reilly Media, Inc.
Build and deploy robust Python web apps
In this course, you’ll:
- Understand and learn how to use FastAPI
- Test and deploy a FastAPI application
FastAPI is a high-performance web framework for building APIs based on standard Python-type hints. It provides a clean and simple way to build web applications.
Join expert Marcelo Trylesinski to explore FastAPI features and best practices for building and deploying robust web applications in Python. Through hands-on exercises and examples, you’ll gain an understanding of this young yet solid framework that makes development faster, safer, and more performant.
This course is part of our What’s New and Next in Web Series, which explores new and emerging trends that will enable web developers to write code easier, build super fast and extremely user-friendly static websites, implement one of the fastest Python web frameworks, and gain knowledge on next generation frontend technologies and tools. Be sure to sign up for the other courses in this series below.
What you’ll learn and how you can apply it
- Learn the lifecycle of building a FastAPI application from the application structure to the deployment
- Understand and use best practices when using FastAPI
This live event is for you because...
- You’re a developer who wants to build web applications at a fast pace.
Prerequisites
- Basic knowledge of Python
Recommended preparation:
- Take Getting Started with Python 3 (live online training with Matt Harrison)
- Watch Building and Deploying Reliable APIs with FastAPI (video)
Recommended follow-up:
- Read FastAPI documentation
- Read Building Python WebAPIs with FastAPI (book)
- Read FastAPI: Modern Python Web Development (book)
Schedule
The time frames are only estimates and may vary according to how the class is progressing.
Introduction (45 minutes)
- Presentation: FastAPI features
- Q&A
Hands-on FastAPI (75 minutes)
- Presentation: Introducing the project
- Hands-on exercise: Create the structure of the project
- Break
- Presentation: Error handling; testing the application
- Hands-on exercise: Test the app
- Q&A
- Break
Deploying FastAPI (40 minutes)
- Hands-on exercise: Deploy FastAPI application
- Q&A
Conclusion (20 minutes)
- Presentation: What now?
- Q&A
Your Instructor
Marcelo Trylesinski
Marcelo Trylesinski has helped the FastAPI community for more than two years and is currently the top FastAPI Expert. He’s also a maintainer of Uvicorn, a web server implementation that can be used to run FastAPI applications, and Starlette, a web framework on which FastAPI is built.