Course Outline

Module I: Basics of Web Applications and APIs
1. Architecture of web applications – client-server model
2. HTTP protocol mechanisms: requests, responses, resources
3. Basic concepts: URI, URL, endpoint
4. Overview of popular API interfaces and methods for communicating with them
5. Postman as an HTTP client
6. Type annotations in the Python language

Module II: FastAPI Framework – Fundamentals
1. First application in FastAPI
2. Defining routes and routing mechanisms
3. Handling POST requests – request body and validation with Pydantic
4. Route parameters
5. Handling HTTP exceptions and the 404 error code
6. Using JSONResponse, configuring default status codes
7. Implementing DELETE requests and the 204 No Content response
8. Updating resources with the PUT method
9. Automatically 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 projects
2. Psycopg library – basics of PostgreSQL handling
3. ORM SQLAlchemy – object-relational mapping

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

Module V: Advanced Application Aspects
1. Security – hashing and storing passwords
2. User authentication and authorization mechanisms
3. Simple frontend for the API written in Python

 

 21 Hours

Number of participants


Price Per Participant (Exc. Tax)

Testimonials (5)

Provisional Courses

Related Categories