Call : (+91) 968636 4243
Mail : info@EncartaLabs.com
EncartaLabs

Build Modern RESTful Web Apps with FastAPI

( Duration: 3 Days )

This Build Modern RESTful Web Apps with FastAPI training course, provides skills to develop and integrate modern web applications using FastAPI. You will learn to formulate application integration plans, design efficient API-level connections, and implement FastAPI to enable data and functionality sharing between systems. The course covers key topics such as path parameters, query parameters, request bodies, Pydantic models, and handling deeply nested models. You will gain hands-on experience in building real-world FastAPI projects that involve database integration, CRUD operations, and creating robust APIs with comprehensive error handling.

Through this course, you will also learn to diagnose and troubleshoot issues in application integration and explore JWT authentication, HTTP status codes, and logging to ensure secure and optimal performance of web services. You will test and validate API performance through end-to-end integration processes, ensuring smooth, functional, and secure API connections. By the end of the course, you will be equipped with the expertise to develop, test, and optimize FastAPI applications for real-world business environments.

By attending Build Modern RESTful Web Apps with FastAPI workshop, delegates will learn to:

  • Formulate application integration plans to connect data and functionalities of web services using FastAPI.
  • Program and evaluate FastAPI for API-level integrations of existing applications.
  • Evaluate the end-to-end integration process and validate FastAPI performance through effective testing procedures.
  • Diagnose and troubleshoot integration issues to optimize FastAPI functionality.

  • Web programming experience.

The Build Modern RESTful Web Apps with FastAPI class is ideal for:

  • Web Developers

COURSE AGENDA

1

Introduction to Application Programming Interface (API)

  • What is an Application Programming Interface (API)?
  • Creating connection among various applications
  • Pros and cons of FastAPI
  • Creating a simple FastAPI application to integrate data and functionalities
2

Programming and Evaluation of FastAPI

  • Path Parameters
  • Path Parameters With Type
  • Automatic Documentation
  • Ordering Of Routes
  • Query Parameters
  • Passing Default Values To Query Parameters
  • Using Path & Query Parameters Simultaneously
  • Required Query Parameters
  • Request Body
  • POST Method
  • Pydantic Models With Request Body
  • Using Model Inside A Function
  • Passing Path & Query Parameters To Request
  • Passing Multiple Models
  • Defining Fields For Metadata
  • Nesting Python DataTypes In A Model
  • Nesting Pydantic Models
  • Deeply Nested Models
  • Providing Example Data
  • Defining Example Data Using Fields
  • Forms To Submit API Data
3

Create a Realistic Project with FastAPI

  • Connecting To Database
  • Creating A Project
  • Creating A Connection
  • Creating A Model
  • Using Table Plus
  • Adding Data To Database
  • Fetching Products
  • Deleting Products
  • Creating A Route To Update Products
4

Testing and Modification

  • Response Model
  • HTTP Status Codes
  • Raising Exceptions
  • Authentication With JWT
  • Creating Login Route
  • Logging In The User
  • Significance Of JWT Token
  • Utility Function To Create JWT Token
  • Generating JWT Token
  • Get Current User
  • Protecting Routes

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting https://www.encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top
Notice
X