Skip to content
ISBN: B0HNJ3NXTS
ISBN13: 9798163572052

FastAPI with PostgreSQL and SQLAlchemy: Build Reliable Python Database APIs with Data Modeling, Relationships, Alembic Migrations, Async Queries, Tran

$22.99List Price: $22.99
ISBN: B0HNJ3NXTS
ISBN13: 9798163572052
Formats

Conditions

A brand-new, unused copy in perfect condition.

Formats

Conditions

A brand-new, unused copy in perfect condition.

See all 1 editionsfrom $22.99

Book Overview

Build Reliable FastAPI Applications with PostgreSQL and SQLAlchemy

Building a FastAPI endpoint is easy. Building a database-driven API that handles concurrent requests, prevents data inconsistencies, and performs reliably under real-world conditions requires more advanced skills.

FastAPI with PostgreSQL and SQLAlchemy is a practical guide to designing, developing, testing, and optimizing reliable Python database APIs.

Through HarborStock, a realistic wholesale inventory management case study, you will explore how to build robust database workflows using modern backend engineering techniques.

WHAT YOU WILL LEARN

  • PostgreSQL Database Design: Create relational schemas, relationships, constraints, and reliable data models.

  • SQLAlchemy ORM: Build typed models, manage database sessions, and write efficient queries.

  • Alembic Migrations: Manage schema changes, data migrations, and safer database deployments.

  • Transactions and Concurrency: Prevent lost updates, handle simultaneous requests, and protect data integrity.

  • Async Database Programming: Use AsyncEngine, AsyncSession, and connection pooling effectively.

  • Query Performance: Optimize SQL queries, indexes, joins, and cursor pagination.

  • Database Testing: Test transactions, migrations, concurrency, rollback, and failure recovery.

  • Production Database Operations: Explore monitoring, backup, restoration, and database reliability practices.

LEARN BY BUILDING

Follow the HarborStock case study as you work through product catalogs, suppliers, warehouse inventory, purchase orders, stock reservations, and database transactions.

Practical examples, engineering scenarios, and hands-on exercises help connect database concepts to real application challenges.

WHO THIS BOOK IS FOR

Ideal for Python developers, FastAPI developers, backend engineers, and aspiring software professionals with basic Python, SQL, and FastAPI knowledge who want to advance beyond simple CRUD applications.

Go beyond storing data. Develop the skills to design, protect, and optimize reliable FastAPI database systems.

Format:
Paperback
Language:
English
ISBN:
B0HNJ3NXTS
ISBN13:
9798163572052
Release Date:
October 2026
Publisher:
Independently Published
Length:
306 Pages
Weight:
1.18 lbs.
Dimensions:
0.6″ × 7.0″ × 10.0″
ComputersComputers & Technology

More by Riley Frost

Customer Reviews

0 customer ratings | 0 reviews
Write a Review

There are currently no reviews. Be the first to review this work.