
Build a small MVP of Tiny Custom Stories, a web app that gen...
Prompt
Build a small MVP of Tiny Custom Stories, a web app that generates personalized childrenβs stories. Use React + TypeScript for the frontend and a simple Node/Express API backend. Requirements: A form asks for: childβs name age favorite animal story theme Clicking Generate Story calls POST /api/stories. The backend returns a mocked personalized story containing: a title 5 short story pages one image prompt per page Show a loading state while generating. Display the completed story as swipeable/next-previous story cards. Add basic validation and useful error handling. Users should be able to start a new story without refreshing the page. Structure the code as if this were the beginning of a real product, not a throwaway demo. Keep components reasonably separated, types clean, and avoid unnecessary abstraction. Provide all code required to run the application locally, including the folder structure and setup instructions. Do not just explain the solution β implement it.
A system prompt was added to support web rendering