Build personalized coloring books in minutes with a playful React experience and an AI + payments backend.
Hēra helps families and creators generate kid-friendly coloring books from custom themes, styles, and difficulty levels. The project combines:
- a modern, animated frontend for guided customization,
- a Python backend for generation and order workflow,
- and Stripe-powered checkout for digital and physical products.
Use the project palette for product pages, previews, and social/portfolio showcases:
- Step-by-step customization wizard (theme, art style, pages, difficulty, colors)
- AI-assisted preview generation for personalized content
- Child-friendly and responsive interface with smooth motion transitions
- Multi-method checkout support via Stripe (including Korean payment options)
- Email and PDF workflow hooks for digital delivery
- React 18
- Vite
- Tailwind CSS
- Framer Motion
- React Router
- i18next
- Flask (Python)
- Google Imagen client integration
- Stripe
- Resend
- ReportLab
cd /home/runner/work/hera/hera
npm install
npm run devFrontend runs on http://localhost:3000.
cd /home/runner/work/hera/hera/aipart
pip install -r requirements.txt
python generated_image.pyBackend runs on http://localhost:5000.
Both frontend and backend must run together for end-to-end generation and checkout flow.
Supported methods include:
- Kakao Pay
- Naver Pay
- Samsung Pay
- PayCo
- Credit/Debit cards
- Apple Pay / Google Pay
Pricing:
- Digital PDF: $9.99
- Physical Book: $24.99
Test card:
4242 4242 4242 4242- Exp:
12/25, CVC:123
For a production-ready deployment, keep the following controls in place:
- Keep API keys and payment secrets only in
.envfiles (never in source control). - Use
/home/runner/work/hera/hera/.env.exampleand/home/runner/work/hera/hera/aipart/.env.exampleas templates. - Rotate compromised or shared keys immediately.
- Restrict backend CORS and callback URLs to trusted domains only.
- Validate payment/session state server-side before fulfillment.
- Run regular dependency checks (
npm audit, Python dependency scans) before releases.
/home/runner/work/hera/hera
├── src/ # React app (pages, components, steps)
├── public/ # Static assets
├── aipart/ # Flask backend and generation/payment services
├── images/ # Design assets
├── package.json # Frontend scripts
└── README.md # Project overview
- Home page + guided customization flow
- Backend generation integration
- Stripe payment integration
- Success/cancel flow
- Multi-page full-book generation
- Automated PDF delivery pipeline
- Physical fulfillment workflow
- User accounts and order history
- Admin dashboard
MIT
Built for a creative, family-friendly experience — ready to showcase on portfolio and LinkedIn.