Companies Home Search Profile

Mastering REST APIs with FastAPI

Focused View

Jose Salvatierra

8:42:55

35 View
  • 1 - Community.mp4
    00:24
  • 2 - Instructions Join the Community.html
  • 3 - Welcome to this course.mp4
    02:59
  • 4 - Platform features and notetaking.html
  • 5 - You can do it.html
  • 6 - What is an API.mp4
    09:44
  • 7 - What is REST.mp4
    09:23
  • 8 - Introduction to this section.mp4
    02:52
  • 9 - Your First FastAPI App.mp4
    03:58
  • 10 - Initial App Setup.mp4
    07:49
  • 11 - Linting formatting and sorting imports.mp4
    06:42
  • 11 - Set up VSCode for Python Teclado blog post.txt
  • 12 - Our social media API adding posts.mp4
    10:57
  • 13 - Splitting our API into files with APIRouter.mp4
    02:21
  • 14 - Adding comments to the social medical API.mp4
    11:07
  • 15 - Introduction to the pytest section.mp4
    00:42
  • 16 - The basics of pytest.mp4
    06:26
  • 17 - Getting started with FastAPI tests.mp4
    07:34
  • 18 - Creating posts in our tests.mp4
    04:30
  • 19 - Adding tests for posts.mp4
    09:16
  • 20 - Adding comments tests.mp4
    08:00
  • 21 - Introduction to working with databases.mp4
    01:19
  • 22 - Installing requirements for async databases in FastAPI.mp4
    01:57
  • 23 - Creating a config file using Pydantic.mp4
    03:25
  • 24 - Different configurations per environment in.mp4
    06:15
  • 25 - Config caching and how to get the config object.mp4
    04:26
  • 26 - Async database setup with FastAPI.mp4
    07:38
  • 27 - Database connection with lifespan events in FastAPI.mp4
    04:46
  • 28 - Run your FastAPI test in test mode.mp4
    02:19
  • 29 - Using a database in our FastAPI router.mp4
    16:07
  • 30 - Introduction to logging.mp4
    01:00
  • 31 - Python logging loggers handlers and formatters.mp4
    15:59
  • 32 - Logger hierarchies and name.mp4
    08:09
  • 33 - Adding Logging Configuration for FastAPI Applications.mp4
    10:54
  • 34 - How to configure multiple loggers in the logging module.mp4
    03:37
  • 35 - Adding File Handlers for Saving Logs.mp4
    07:43
  • 36 - Python logging filters and custom filters.mp4
    06:53
  • 37 - Logging HTTPExceptions with an Exception Handler.mp4
    04:54
  • 38 - Add logging to your FastAPI endpoints.mp4
    02:35
  • 39 - Identifying logs from the same request Correlation ID.mp4
    07:27
  • 40 - Adding JSONformatted log files.mp4
    02:34
  • 41 - Obfuscating email addresses in logs using a custom filter.mp4
    09:14
  • 42 - Adding Logtail for Cloud Logging in FastAPI.mp4
    03:43
  • 43 - Enabling Logtail in only in production.mp4
    01:19
  • 44 - Introduction to user authentication.mp4
    01:01
  • 45 - Installing requirements and what are JWTs.mp4
    07:21
  • 46 - Adding a users table and retrieving users by email.mp4
    03:21
  • 47 - Adding user registration and tests.mp4
    11:12
  • 48 - Adding tests for the user registration endpoint.mp4
    03:14
  • 49 - How to hash passwords with passlib.mp4
    06:17
  • 50 - Generate the access token.mp4
    13:22
  • 51 - Retrieve the current user with their token.mp4
    06:35
  • 52 - Use the current user in the API router.mp4
    13:59
  • 53 - Dependency injection getting the user.mp4
    03:48
  • 54 - Adding user relationships to other tables.mp4
    03:02
  • 55 - Introduction to manyto many.html
  • 56 - Adding a table for post likes.mp4
    01:11
  • 57 - Adding an API route to like posts.mp4
    07:21
  • 58 - Extracting reusable queries with SQLAlchemy.mp4
    08:16
  • 59 - Query string arguments and data sorting with Enum.mp4
    16:51
  • 60 - Creating the confirmation token.mp4
    07:01
  • 61 - Decoding the confirmation token.mp4
    14:33
  • 62 - Adding a user confirmation endpoint.mp4
    10:25
  • 63 - Requiring user confirmation for authenticated requests.mp4
    04:05
  • 64 - Mailgun setup and configuration.mp4
    02:44
  • 65 - Sending emails and testing with Python.mp4
    15:47
  • 66 - Sending a confirmation email on registration.mp4
    04:48
  • 67 - Sending emails with background tasks.mp4
    05:59
  • 68 - Account setup for Backblaze B2.html
  • 69 - Our configuration for Backblaze B2.mp4
    01:29
  • 70 - Internal library for Backblaze B2.mp4
    09:57
  • 71 - Writing our file upload endpoint.mp4
    09:24
  • 72 - Writing tests for file upload.mp4
    18:22
  • 73 - Model and database changes for image generation.mp4
    02:44
  • 74 - Configuration for DeepAI our third party service.mp4
    03:46
  • 75 - Generating images using background tasks.mp4
    20:41
  • 76 - Executing image generation in our FastAPI endpoint.mp4
    07:12
  • 77 - Updating our project to Pydantic v2.mp4
    06:29
  • 78 - Deploy a FastAPI app to Render.mp4
    06:09
  • 79 - Add a free PostgreSQL database to your FastAPI app.mp4
    09:15
  • 80 - Error management with Sentry for FastAPI apps.mp4
    07:58
  • 81 - Continuous Integration with GitHub Actions for Python apps.mp4
    08:19
  • Description


    Build professional APIs using FastAPI, including 100% test coverage, background tasks, user authentication, and more!

    What You'll Learn?


    • Gain broad experience with FastAPI
    • Understand how to test FastAPI apps using Pytest with 100% test coverage
    • Become a master of logging with the built-in logging module
    • Add user authentication with password hashing and Bearer tokens
    • Use an async SQL database and model one-to-many and many-to-many relationships
    • Send user emails when they register without a performance hit using background tasks
    • Handle file uploads and store them in a third-party service
    • Deploy your FastAPI apps to the cloud

    Who is this for?


  • Software developers looking to expand their skill-set by learning to develop professional grade FAST APIs
  • Students wanting to extend the capabilities of mobile and web applications by using server-side technologies
  • What You Need to Know?


  • Some prior programming experience in any programming language.
  • All software used in the course is provided, and completely free
  • Complete beginners may wish to take a beginner Python course first, and then transition to this course afterwards
  • More details


    Description

    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!

    Who this course is for:

    • Software developers looking to expand their skill-set by learning to develop professional grade FAST APIs
    • Students wanting to extend the capabilities of mobile and web applications by using server-side technologies

    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Category
    Jose Salvatierra
    Jose Salvatierra
    Instructor's Courses
    Hi, I'm Jose! I love helping students learn to code and master software development. I've been teaching online for over 7 years, and I founded Teclado to bring software development to everyone—my objective is for you to truly understand everything that goes on behind the scenes.Coding is extremely rewarding. As you learn, things start to click and make sense. You can join the dots of all the things that weren't quite clear before. I'm here to make that journey quick and painless!I can help you with Python and JavaScript issues, particularly in web and backend development. I'm experienced with programming libraries and frameworks like Flask, React, React Native, and AngularJS. I've worked extensively with UNIX systems, MongoDB, PostgreSQL, and advanced system architecture design.
    Students take courses primarily to improve job-related skills.Some courses generate credit toward technical certification. Udemy has made a special effort to attract corporate trainers seeking to create coursework for employees of their company.
    • language english
    • Training sessions 76
    • duration 8:42:55
    • Release Date 2023/11/21