Transform your ideas into beautiful fairy tales for children with the power of AI.
Magical Stories Generator is a beautiful, responsive web application that transforms user prompts into enchanting fairy tales for children. Built with modern web technologies and powered by AI, it offers a secure, scalable platform for creative storytelling.
- AI-Powered Story Generation: Create unique fairy tales using advanced OpenAI GPT models
- Beautiful Magical UI: Immersive design with animated sparkles, gradients, and enchanting visuals
- Responsive Design: Seamlessly works across desktop, tablet, and mobile devices
- One-Click Copy: Easily copy generated stories to clipboard
- Secure Backend: All API keys and sensitive data protected through Supabase
This application leverages Supabase as its backend-as-a-service platform for enhanced security and scalability:
- 🔐 Secure API Key Management: OpenAI API keys are stored as encrypted secrets in Supabase, never exposed in client-side code
- 🛡️ Edge Functions: Story generation happens server-side via Supabase Edge Functions, protecting sensitive operations
- 🚀 Serverless Architecture: No server maintenance required, with automatic scaling and high availability
- 🔒 Environment Isolation: Production and development environments are completely separated
- 📊 Built-in Analytics: Monitor usage patterns and performance through Supabase dashboard
- 🔄 Real-time Capabilities: Ready for future features like real-time collaboration or live updates
- React 18 - Modern React with hooks and concurrent features
- TypeScript - Type-safe development
- Tailwind CSS - Utility-first CSS framework with custom design system
- Vite - Lightning-fast build tool and dev server
- Lucide React - Beautiful, customizable icons
- Supabase - Backend-as-a-Service platform
- Supabase Edge Functions - Serverless functions for API integration
- OpenAI GPT API - Advanced language model for story generation
- Radix UI - Accessible, unstyled UI primitives
- Class Variance Authority - Type-safe component variants
- Sonner - Beautiful toast notifications
- React Hook Form - Performant forms with validation
This project is licensed under the MIT License - see the LICENSE file for details.
- Lovable for writing, debugging, assembling, and deploying the web app for me :)
- OpenAI for providing the GPT API for story generation
- Supabase for the secure, scalable backend platform
✨ Made with magic and modern web technologies ✨