A web application that generates short stories and poetry based on user inputs to inspire writers and spark creativity.
├── backend/
│ └── index.ts # Main Hono server with API routes
├── frontend/
│ ├── index.html # Main HTML template
│ ├── index.tsx # React frontend application
│ └── style.css # Custom styling
├── shared/
│ └── types.ts # Shared TypeScript types
└── README.md
GET /
- Serves the main applicationPOST /api/generate-story
- Generates a short storyPOST /api/generate-poem
- Generates a poemOPENAI_API_KEY
- Required for AI content generation