Back to Program Overview

Module 7: Python Web APIs & Testing

Module/Week 4: Python Web APIs & Testing

Module 7: Python Web APIs & Testing

Programme

Python Developer Internship

Module Number

7

Module Title

Python Web APIs & Testing

Duration

3-4 Days

Level

Beginner to Intermediate

Tools Required

Flask or FastAPI, pytest, Postman

Overview

Create a small backend API with routes, validation, persistence, tests, and API documentation. This module is designed to feel like a real workplace sprint: you will understand the requirement, learn the technical concepts, inspect examples, build a practical artifact, and prepare your work for review.

Objectives

  • Build REST endpoints
  • Validate request data
  • Write API tests
  • Document API usage

Course Content

13 Topics

Hands-on Tasks

  • API project
  • Postman collection
  • pytest tests
  • Deployment notes

Learning Outcomes

  • Build REST endpoints
  • Validate request data
  • Write API tests
  • Document API usage