ep. 2 of building a fashion app in public – backend edition

In this solo walkthrough, the creator demonstrates how to add a durable, secure backend to a fashion try‑on browser extension by leveraging ChatGPT throughout the process. The video starts by outlining the limitations of the current local‑storage‑only solution and enumerates the app’s user‑facing features. Those features are fed to ChatGPT, which proposes a relational database schema. The creator then validates each table for proper primary keys, appropriate data types, and security settings to prevent unauthorized access. Relationships between entities—such as a one‑to‑one link between a user and an avatar and a one‑to‑many link from an avatar to try‑on sessions—are mapped and expressed as foreign keys. The schema is visualized as a diagram for further verification. After a brief café change, the finalized schema is translated into SQL statements and a PostgreSQL instance is launched with in‑transit encryption enabled. Dummy data is generated for every table, and sample SQL queries are run to simulate real data flow, confirming that the backend functions as intended. The video concludes with the backend ready for upcoming frontend integration.










