How chandu4203/quantum_website works
Project Pulse is a team knowledge-check web app: members sign in, explore course lessons, take a timed project-practices quiz, and save their score. The configured start command runs the FastAPI backend alongside Vite; the browser code calls the login and result APIs, and FastAPI reads and writes PostgreSQL. The tree also contains a Node API implementation in server.js, but the configured start command does not launch it. Lesson details are only partly visible in the sampled client source, so their internal wiring is not expanded.
Main entry points: fastapi_app.py FastAPI routes · script.js Course and quiz · index.html Web interface
Components 12
Browser experience
- Web interface
index.html - Course and quiz
script.js - Sign-in
script.js - Lessons and video
script.js - Timed quiz
script.js - Score feedback
script.js
API and identity
- FastAPI routes
fastapi_app.py - Session identity
fastapi_app.py - Result validation
fastapi_app.py
Persistent data
- PostgreSQL
- Table definitions
schema.sql
Other components
- Team member
Connections 15
- Team member → Web interface: opens
- Web interface → Course and quiz: loads
- Course and quiz → Sign-in: shows
- Course and quiz → Lessons and video: selects lessons
- Course and quiz → Timed quiz: starts quiz
- Timed quiz → Score feedback: computes score
- Sign-in → FastAPI routes: POST login
- FastAPI routes → Session identity: checks credentials
- Session identity → PostgreSQL: reads users
- FastAPI routes → PostgreSQL: initializes tables
- Timed quiz → FastAPI routes: POST result
- FastAPI routes → Result validation: validates result
- Result validation → PostgreSQL: inserts attempt
- FastAPI routes → Sign-in: returns user
- FastAPI routes → Score feedback: returns save status