​​ Build Tenancy Microservices with FastAPI, PostgreSQL and Redis
Business Requirement

Build Tenancy Microservices with FastAPI, PostgreSQL and Redis

Group: Business Requirement

Product Category: Software Engineering

Sub Category: Backend Engineering

What's Included in the Project

Implementation Video

Step-by-step video of how the project is built.

Solution Code

Complete code, datasets and files for the project.

Interview Q&A

1 set · 75 questions on this project.

1:1 Mentorship

1 expert mentor to guide you.

Certificate

Awarded when you complete the project.

Estimated Building Hours

20 hours to build, at your own pace.

Everything above unlocks once you purchase and stays with you for life. The interview Q&A is about this project itself, not a general question bank for its tech stack.

Prerequisites

REST API Design Pydantic Request Validation JWT Role Based Access Control SQL Constraints and Transactions Transactional Outbox Pattern Redis Streams Consumer Groups Dead Letter Handling and Replay Idempotent Event Consumers Redis Caching and Rate Limiting Circuit Breaker Pattern Prometheus Metrics and Structured Logging Readiness and Liveness Health Checks

About this Product

A residential property manager needs its tenancy, rent and renewal processes to stay correct when services fail, events arrive twice and requests spike. Overlapping leases, duplicated payments and repeated late fees each cost money and trust, so the backend must enforce the business rules even under failure. 

 

In this lab you build that backend as three FastAPI microservices. The Tenancy service handles applications, tenants and leases, the Billing service handles rent schedules, payments and late fees, and the Renewals service handles renewal offers and service requests. Each service owns its own PostgreSQL schema, and the services collaborate through Redis Streams events published from a transactional outbox.

 

You practise REST APIs with JWT authentication and role checks, SQL migrations and constraints, consumer groups with retries, dead letter handling and replay, idempotent consumers, Redis caching and per-client rate limiting, circuit breakers, and observability through correlation IDs, JSON logs, Prometheus metrics and health checks. Synthetic seed data and a load and fault script let you simulate billing outages and recover from them.

 

By the end you have a production style service layer that you can run, break and diagnose on a laptop, with pytest unit and integration tests and a runbook ready to show in your portfolio for a backend engineering role.

Interview Q&A Included

1 practice set bundled with this lab

These questions are about this project. They cover how the project is built and the decisions behind it, so you can talk about it confidently in an interview. They are not a general question bank for the tech stack it uses.

  • Tenancy Microservices – Interview Q&A Assessment

    Tenancy Microservices – Interview Q&A Assessment

    Category: Artificial Intelligence Subcategory: Large Language Models (LLMs) & Natural Language Processing (NLP) 75 questions

    This interview assessment focuses on microservice architecture, event-driven communication, database transactions, idempotency, fault handling, and observability using real-world tenancy management scenarios.

Resources

1/4
Setup, Run & Test
Setup, Run & Test
| PDF
The Build Tenancy Microservices with FastAPI, PostgreSQL and Redis setup and execution guide is available as a Read-Only PDF. It provides step-by-step instructions for setting up the project, configuring the environment, installing dependencies, running the CLI application, and executing the available tests. Guide Contents: Prerequisites and system requirements Project setup and environment configuration Dependency installation Environment variables and configuration Commands for document ingestion, permit queries, and evaluation Commands to run tests and validation Expected outputs and verification steps Common setup and execution issues
Enroll to Access

Topics

1 sold 86% OFF
FastAPI PostgreSQL Redis

Skills

FastAPI PostgreSQL Redis Microservices Event Messaging Observability Idempotent Consumers

Languages

English

Level

Advanced

Business Domain

Real Estate and Tenant Management

$2.00 $15.00
Includes 1 Interview Q&A set

Labs • Projects • Practice

Similar Products

> more hands-on labs picked for you_

Expert Guidance

Similar Services

1:1 help from industry experts who can guide you through labs like this one.

Finding the best experts for you...

Learner Feedback

Top User Reviews

Loading reviews...