# REST API

## About

- Level: Intermediate to Advanced
- Lectures: 30 hours
- Self-study: 15 hours
- Exercises: 24
- Lines of code to write: \~500
- Format: e-learning + weekly online meeting with the instructor
- Language: English or Polish

## Description

Design and build Python services that other applications can use. Start with HTTP and networking, then practice API contracts, validation, authentication, persistence, and deployment. Compare architectural choices such as queues, caching, and service boundaries through practical examples.

## Advantages

Learn to make an API easier to integrate, test, and operate. The course helps you weigh the benefits of splitting services against the extra coordination, failure handling, and monitoring that distribution introduces.

## Target Audience

- Python developers building APIs or integrating external systems.
- Backend engineers evaluating service architecture and data access.
- Teams improving API contracts, tests, and delivery workflows.

## Format

Learn through short videos and worked examples, then apply each topic in coding exercises. Automated checks help you test your solutions, and a progress spreadsheet helps you see what to work on next.

Weekly online meetings give you time for questions, code reviews, and working through difficult exercises with the instructor. Downloadable code, exercise templates, and reference notes support your independent practice.

Our trainers prepare the teaching materials from their professional experience. The materials have been developed since 2015, with more than 28,000 automated tests checking the code examples. Training is available in English or Polish.

## Course Outline

1. Introduction to networking concepts:

   - OSI model
   - IPv4 and IPv6 protocols
   - TCP and UDP protocols
   - HTTP and HTTPS protocols
   - HTTP versions 1.1, 2.0, 3.0
2. HTTP protocol:

   - Client–server communication (Request–Response)
   - HTTP request lifecycle
   - HTTP request methods
   - Response status codes
   - Request and response headers
   - MIME types
   - Retrieving data from a server
   - Sending data to a server
   - Debugging (curl, Web Inspector, Wireshark, tcpdump)
3. Application API design:

   - REST protocol
   - JSON serialization and deserialization
   - Documentation: OpenAPI
   - API design principles
   - API versioning
4. Introduction to frameworks:

   - FastAPI
   - Django
5. Introduction to databases:

   - SQL vs. NoSQL
   - Raw SQL queries
   - Using an ORM in an application
   - Database usage examples: SQLite3, PostgreSQL, MongoDB, InfluxDB, Prometheus
6. Authorization and authentication:

   - Basic Auth
   - OAuth2
   - JSON Web Token (JWT)
7. Architecture:

   - Vertical and horizontal scalability concepts
   - Monolithic vs. microservices architecture
   - Asynchronous and synchronous network communication
   - Models: API Gateway, Backend for Frontend (BFF)
   - Load balancing
   - Queues: Redis + Celery
   - Cache: Memcached, Redis, Varnish
8. DevOps:

   - Testing
   - CI/CD pipeline
   - Deployments and introduction to containerization (Docker, Kubernetes)

## Our Experience

AATC trainers have taught software engineering since 2015, delivering more than 11,000 hours of training to over 32,000 students worldwide. The exercises draw on that teaching experience and professional projects.

## Prerequisites

- Intermediate knowledge of Python programming
- Familiarity with using an IDE (e.g., PyCharm, VSCode)
- Familiarity with using version control systems (e.g., Git)

## Setup

- Newest version of Python
- IDE of your choice (e.g., PyCharm, VSCode)
- Git installed and configured
- GitHub account
- Web browser (e.g., Chrome, Firefox, Safari, etc.)
- SQLite3 installed locally

## Related Courses

- [Django](<https://aatc.pl/software/web/django/index.md>)
- [REST API](<https://aatc.pl/software/web/rest-api/index.md>)
- [SQL Databases](<https://aatc.pl/software/web/database/index.md>)
- [DevOps](<https://aatc.pl/software/engineering/devops/index.md>)
- [All Courses](<https://aatc.pl/software/index.md>)

## Date

This course is scheduled on demand. Contact us with your preferred dates and group size so we can check availability and arrange a suitable session.

## Contact

Email [info@aatc.pl](<mailto:info@aatc.pl>) for help with program details, preparation, or booking.

## Apply

To apply, email [info@aatc.pl](<mailto:info@aatc.pl>) with your name, the program you are interested in, and your preferred dates.
