From Database to Browser: A REST API and a Real Flipbook
Post 5 of the Pepper & Carrot AI flipbook series. With one episode sitting in Postgres + LocalStorage from Post 4, it's time to surface it. Build two typed FastAPI routes that resolve relative storage keys into absolute URLs at response time, and wire up a real page-flipping flipbook with React + StPageFlip — single page in portrait, two-page spread in landscape. By the end you have an episode picker plus a flipbook rendering real data from your local backend.