How everlynewilly/ai-workshop-learning-webapp works
This repository presents an AI workshop-learning web application, with a FastAPI backend exposing authentication, user, workshop, registration, speaker, session, blog, feedback, dashboard, profile, and admin routes. The visible frontend is still the default React/Vite starter and has no sampled API calls, so the graph does not treat it as a connected client. The clearest evidenced workflow is login: the auth route queries a user, verifies the password, and issues a token. Session creation also checks a workshop before storing a session. Other route capabilities are identified by their paths; their internal wiring was not sampled.
Main entry points: main.py FastAPI application · auth.py Authentication routes · session.py Session routes · database.py Database setup
Components 27
Application entry
- Starter frontend
frontend/src/App.jsx - FastAPI application
backend/main.py - Database setup
backend/database.py
Identity and users
- Authentication routes
backend/routes/auth.py - Password verification
backend/services/auth_service.py - Token service
backend/services/token_service.py - User routes
backend/routes/users.py - Profile routes
backend/routes/profile.py - Dashboard routes
backend/routes/dashboard.py - User model
backend/models/user.py - User schemas
backend/schemas/user.py
Workshop operations
- Workshop routes
backend/routes/workshop.py - Registration routes
backend/routes/registration.py - Speaker routes
backend/routes/speaker.py - Session routes
backend/routes/session.py - Workshop model
backend/models/workshop.py - Registration model
backend/models/registration.py - Speaker model
backend/models/speaker.py - Session model
backend/models/session.py - Session schema
backend/schemas/session.py
Learning content
- Blog routes
backend/routes/blog.py - Feedback routes
backend/routes/feedback.py - Admin routes
backend/routes/admin.py - Blog model
backend/models/blog.py - Feedback model
backend/models/feedback.py
Other components
- API caller
- Workshop database
workshop.db
Connections 21
- API caller → FastAPI application: sends requests
- FastAPI application → Authentication routes: mounts routes
- FastAPI application → User routes: mounts routes
- FastAPI application → Profile routes: mounts routes
- FastAPI application → Dashboard routes: mounts routes
- FastAPI application → Workshop routes: mounts routes
- FastAPI application → Registration routes: mounts routes
- FastAPI application → Speaker routes: mounts routes
- FastAPI application → Session routes: mounts routes
- FastAPI application → Blog routes: mounts routes
- FastAPI application → Feedback routes: mounts routes
- FastAPI application → Admin routes: mounts routes
- FastAPI application → Database setup: creates tables
- Database setup → Workshop database: connects to
- Authentication routes → User model: queries user
- Authentication routes → Password verification: verifies password
- Authentication routes → Token service: creates token
- Authentication routes → Database setup: opens session
- Session routes → Database setup: opens session
- Session routes → Workshop model: checks workshop
- Session routes → Session model: stores session