How ambatitharunsai-tech/-coursecraft works
CourseCraft is a Flask learning-path generator: a signed-in learner submits a skill, duration, and experience level; the app requests a structured curriculum from Groq, validates it, saves it, and returns it for display. The UI also supports account access, history management, sharing, exports, progress tracking, and learning-resource searches. The sampled backend excerpt shows generation, validation, and persistence; README statements support the other feature branches, whose implementation details were not sampled.
Main entry points: index.html Curriculum view · app.py Generation endpoint · script.js Curriculum interface · login.html Account interface
Components 20
Learner experience
- Curriculum interface
static/script.js - Curriculum view
templates/index.html - Account interface
templates/login.html - Registration interface
templates/register.html - History interface
static/script.js - Shared curriculum
templates/shared.html - Learning progress
static/script.js - Curriculum exports
static/script.js - Learning resources
static/script.js
Flask application
- Account access
app.py - Generation endpoint
app.py - Prompt and AI client
app.py - Curriculum validation
app.py - History operations
app.py - Share links
app.py - Database health
app.py
Data and integrations
- Application database
app.py - Groq API
- Google sign-in
Other components
- Learner
Connections 21
- Learner → Curriculum interface: submits goals
README.md - Curriculum interface → Generation endpoint: requests curriculum
README.md - Generation endpoint → Prompt and AI client: requests generation
app.py - Prompt and AI client → Groq API: calls API
app.py - Generation endpoint → Curriculum validation: validates response
app.py - Generation endpoint → Application database: saves curriculum
app.py - Curriculum interface → Curriculum view: renders result
README.md - Learner → Account interface: signs in
README.md - Learner → Registration interface: registers
README.md - Account interface → Account access: submits credentials
README.md - Registration interface → Account access: creates account
README.md - Account access → Application database: reads and writes
README.md - History interface → History operations: manages history
README.md - History operations → Application database: reads and writes
app.py - History interface → Share links: copies share link
README.md - Share links → Shared curriculum: opens curriculum
README.md - Curriculum view → Curriculum exports: downloads PDF or Markdown
README.md - Curriculum view → Learning progress: stores completion
README.md - Curriculum view → Learning resources: opens topic searches
README.md - Database health → Application database: checks connection
README.md - Account access → Google sign-in: verifies sign-in
README.md