Get in Touch

Course Outline

Module I: Fundamentals of Web Applications and APIs
1. Web application architecture – the client-server model
2. HTTP protocol mechanisms: requests, responses, resources
3. Key concepts: URI, URL, endpoint
4. Overview of popular API interfaces and methods for interacting with them
5. Postman as an HTTP client
6. Type annotations in Python

Module II: FastAPI Framework – Foundations
1. Creating your first FastAPI application
2. Defining paths and routing mechanisms
3. Handling POST requests – request body and validation with Pydantic
4. Path parameters
5. Handling HTTPException errors and the 404 status code
6. Using JSONResponse and configuring default status codes
7. Implementing DELETE requests and returning the 204 No Content response
8. Updating resources using the PUT method
9. Auto-generated documentation (Swagger UI and ReDoc)
10. Defining response schemas
11. Using the requests library to communicate with APIs
12. Advanced Pydantic features

Module III: Database Integration
1. Configuring database connections in your project
2. Psycopg library – fundamentals of PostgreSQL handling
3. SQLAlchemy ORM – object-relational mapping

Module IV: CRUD Operations
1. The CRUD principle – analysis of individual operations
2. Performing database operations using SQLAlchemy
3. Query parameters – sorting and filtering data
4. Testing endpoints using TestClient

Module V: Advanced Application Aspects
1. Security – password hashing and storage
2. User authentication and authorization mechanisms
3. Building a simple Python-based frontend for the API

Requirements

 21 Hours

Number of participants


Price Per Participant (Exc. Tax)

Testimonials (2)

Provisional Courses

Related Categories