​​ 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

No Solution Available

You will have to implement it on your own.

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

  • 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
Build Tenancy Microservices with FastAPI, PostgreSQL and Redis
86% OFF

Topics

FastAPI PostgreSQL Redis

Skills

FastAPI PostgreSQL Redis Microservices Event Messaging Observability Idempotent Consumers

Languages

English

Level

Advance

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_

32% OFF
Enterprise Data Security & Governance Implementation using Snowflake
Business Requirement

Enterprise Data Security & Governance Implementation using Snowflake

Enterprise Data Security & Governance Implementation using Snowflake is a practical implementation guide that teaches you how to build a …

Snowflake Security Data Governance Role-Based Access Control (RBAC) Dynamic Data Masking Row Access Policies Data Classification Audit Logging Regulatory Compliance Healthcare Analytics +7 more +5 more +4 more +3 more +2 more

Level

Advanced

Language

English

33% OFF
Enterprise Sales Analytics Data Warehouse Design with Kimball Modeling & SCD Implementation
Business Requirement

Enterprise Sales Analytics Data Warehouse Design with Kimball Modeling & SCD Implementation

Enterprise Sales Analytics Data Warehouse Design with Kimball Modeling & SCD Implementation is a practical implementation guide that teaches you …

Data Warehousing Kimball Dimensional Modeling Star Schema Slowly Changing Dimensions Change Data Capture SQL Data Engineering Business Intelligence Real-Time Analytics +7 more +6 more +5 more +3 more +2 more +1 more

Level

Advanced

Language

English

33% OFF
Enterprise Customer 360 Data Platform Implementation using Natural Keys, Row Hashes & Medallion Architecture
Business Requirement

Enterprise Customer 360 Data Platform Implementation using Natural Keys, Row Hashes & Medallion Architecture

Enterprise Customer 360 Data Platform Implementation using Natural Keys, Row Hashes & Medallion Architecture is a practical implementation guide that …

Customer 360 Data Engineering ETL Pipeline Design Medallion Architecture Entity Resolution Natural Key Matching Data Integration Data Warehousing Master Data Management +7 more +6 more +5 more +4 more +3 more +2 more

Level

Advanced

Language

English

40% OFF
Historical Dimension Tracking & SCD Pipeline Implementation Using PySpark and PostgreSQL
Capstone Project

Historical Dimension Tracking & SCD Pipeline Implementation Using PySpark and PostgreSQL

Historical Dimension Tracking & SCD Pipeline Implementation Using PySpark and PostgreSQL is a practical implementation guide that teaches you how …

PySpark Slowly Changing Dimensions (SCD) PostgreSQL Data Warehousing Dimensional Modeling Temporal Data Modeling Data Engineering ETL Pipeline Development +6 more +5 more +4 more +3 more +1 more

Level

Intermediate

Time

10.0 hrs

Language

English

37% OFF
Real Time Kafka Consumer Data Ingestion into RAW Layer Using PySpark
Business Requirement

Real Time Kafka Consumer Data Ingestion into RAW Layer Using PySpark

Real-Time Kafka Consumer Data Ingestion into RAW Layer Using PySpark is a practical implementation guide that teaches you how to …

PySpark Structured Streaming Apache Kafka Streaming Data Engineering Real-Time Data Ingestion Kafka Consumers ETL Pipeline Development +4 more +3 more +2 more

Level

Intermediate

Language

English

40% OFF
Healthflow Analytics Platform with Snowflake & Medallion Architecture
Capstone Project

Healthflow Analytics Platform with Snowflake & Medallion Architecture

Healthflow Analytics Platform with Snowflake & Medallion Architecture is a healthcare data engineering capstone project that demonstrates how to build …

Snowflake Data Engineering Healthcare Analytics ETL Pipeline Design Medallion Architecture Data Governance Data Warehousing Snowflake Administration +5 more +4 more +3 more +1 more

Level

Intermediate

Time

8.0 hrs

Language

English

30% OFF
FinTech Banking ETL Pipeline with PySpark Delta Lake and Medallion Architecture
Capstone Project

FinTech Banking ETL Pipeline with PySpark Delta Lake and Medallion Architecture

NovaPay ETL Pipeline is an advanced data engineering capstone project that builds a production-grade ETL pipeline for a fictional digital …

Data Engineering ETL Pipeline Design Medallion Architecture Data Quality & Validation Incremental Processing Delta Lake & Lakehouse +4 more +3 more +2 more

Level

Advanced

Language

English

40% OFF
Full Stack IPL Cricket Analytics Dashboard and Statistics Platform
Capstone Project

Full Stack IPL Cricket Analytics Dashboard and Statistics Platform

IPL Analytics Dashboard is an advanced, full-stack capstone project that transforms 17 years of Indian Premier League ball-by-ball match data …

Full Stack Development Data Ingestion & Pipeline REST API Development Database Design Data Visualization User Authentication +4 more +3 more +1 more

Level

Advanced

Language

English

Demo

View
50% OFF
Retail Banking EDA & Transaction Analytics Platform
Capstone Project

Retail Banking EDA & Transaction Analytics Platform

Retail Banking EDA & Transaction Analytics Platform is an advanced, full-stack capstone project that takes you through the complete data …

Data Engineering Exploratory Data Analysis Full Stack Development Database Design Regulatory Compliance REST API Design Data Visualization +5 more +4 more +2 more +1 more

Level

Intermediate

Time

8.0 hrs

Language

English

Demo

View
40% OFF
AI Powered Meeting Notes Generator
Capstone Project

AI Powered Meeting Notes Generator

AI Powered Meeting Notes Generator is an intermediate-level, full-stack capstone project that transforms raw meeting recordings and transcripts into clean, …

AI Integration Full Stack Development Speech-to-Text LLM Prompt Engineering Async Processing REST API Design +4 more +3 more

Level

Intermediate

Time

8.0 hrs

Language

English

Demo

View
40% OFF
Full Stack Service Booking Marketplace with Consultant Subscription Model
Capstone Project

Full Stack Service Booking Marketplace with Consultant Subscription Model

BookMyService is a beginner-friendly, full-stack capstone project that simulates a real-world two-sided service marketplace — where users can discover and …

Full Stack Development SaaS Marketplace Authentication & Security Subscription Management Role-Based Access Control REST API Design +4 more +3 more +2 more

Level

Intermediate

Time

8.0 hrs

Language

English

Demo

View

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...