How parkavisit2427/ai-content-generator works
AI Educational Content Generator is a React-and-Flask application for turning a learner’s topic and preferences into educational material. The main workflow collects topic, education level, content type, and tone; submits them to the Flask generation endpoint; builds a prompt; requests Gemini content; and displays the returned text. The README also names notes, summaries, quizzes, and flashcards as supported output types. The repository contains other React client directories, but the sampled apps are starter screens, not additional generator workflows.
Main entry points: app.py Generate endpoint · App.js Generator form and output
Components 5
Learner experience
- Generator form and output
client/src/App.js
Content generation
- Generate endpoint
server/app.py - Prompt construction
server/app.py
AI provider
- Gemini generation
server/app.py
Other components
- Learner
Connections 5
- Learner → Generator form and output: sets preferences
client/src/App.js - Generator form and output → Generate endpoint: posts request
client/src/App.js - Generate endpoint → Prompt construction: builds prompt
server/app.py - Prompt construction → Gemini generation: requests content
server/app.py - Generate endpoint → Generator form and output: returns content
client/src/App.js