FastAPI Booking Backend with Conflict Handling and TestsFastAPI Booking Backend with Conflict Handling and Tests
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
FastAPI booking backend: correct failures and repeatable tests
Independent portfolio demo built with Python, FastAPI, and SQLite. The API exposes six documented routes and tests booking, cancellation, invalid inputs, missing records, and conflicting reservations. A conditional SQL update prevents claiming an already-booked slot; cancellation is idempotent. Source-derived OpenAPI documentation and an isolated test database make the project easy to inspect and run. The supplied validation record contains 26 passing tests. This is an offline demo using synthetic references, not a deployed clinic system.
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started