
UdemyPrice
No active coupon right now
View Course →No coupon right now. We'll tell you when there is one.
Mark your own learning status. Opening a course link does not establish enrollment.
Loading saved status…
The course builds a social media API from a blank project. Users register and log in with JWT bearer tokens, then publish posts, add comments and give likes. Relationships, including many-to-many links, shape much of the data modelling.
Background tasks handle email sending and slow third-party calls, and an async database library keeps the code non-blocking. Testing covers integration and unit tests with pytest fixtures and parametrisation, and logging is treated as a real concern, including where logs go once the app is deployed.
With FastAPI you can build complete, high-performance APIs in days, and adding new features is blazing-fast. That's why FastAPI has become so popular in recent years.
In this course, I'll show you how to go from a blank slate to a complete, finished FastAPI application.
The project
We'll build social media API with user authentication, email sending, and file upload. Users will be able to register and log in using Bearer (JWT) tokens. They will be able to create posts, leave comments, and like existing posts.
We'll use Pydantic for data validation and encode/databases as our database connectivity library.
Advanced knowledge
Use background tasks in FastAPI to improve performance when running slow code, such as when sending emails (covered in the course) or when making slow requests to third party APIs (also covered).
Throughout the course we use an async database library, again to maximise performance, which is nonetheless straightforward to use. You'll learn about the different types of data relationships and how to model them, including many-to-many relationships.
You'll learn how to handle file uploads and what to do with the uploaded files, so you don't run out of server space.
Complete API testing
Finally, 100% of the code in this course has tests. You'll use pytest extensively to write integration and unit tests for the API. You'll learn about pytest fixtures, parametrization, and testing conventions.
Part of real-world development means logging! There's a lot of logging knowledge in this course, including how to set up the logging module properly, when to make logging calls, and where to store logs when your application is deployed.
Deployments
Of course, I'll show you how to deploy your FastAPI app using popular service Render. You can deploy your FastAPI app for free, but I'll also show you some paid options for improved performance.
We'll also look at application management, error handling with Sentry, and CI/CD with GitHub Actions.
If you use or want to use FastAPI, this course contains everything you need to develop complete, real-world APIs.
Let's get started. I'll see you on the inside!
Advertisement
Tracking since 15 Nov — not enough history yet to tell you whether today's price is any good. Watch the course and we'll tell you when it drops.
This is what we recorded in US pricing — not every price this course has ever had, and prices differ by country.
No Korshub reviews yet.