How shankyyy81/fullstackproject works
The SDG Project Management System supports faculty and student workflows: users authenticate, faculty create and assign SDG projects, and project teams coordinate tasks, files, and chat in a workspace. A separate literature workflow uploads project papers and answers questions using retrieved text and a Groq model; SDG analysis is another project capability. The graph follows documented frontend calls and backend route registration. Unsampled route internals are represented as capabilities, but their internal call relationships are omitted where excerpts do not establish them.
Main entry points: rag.py Literature Q&A · main.py API application · App.jsx Web routing · auth.py Authentication
Components 21
Web application
- Web routing
frontend/src/App.jsx - Auth state
frontend/src/context/AuthContext.jsx - Role dashboards
frontend/src/pages/Dashboard.jsx - Project creation
frontend/src/pages/CreateProject.jsx - Faculty dashboard
frontend/src/pages/FacultyDashboard.jsx - Project workspace
frontend/src/pages/ProjectWorkspace.jsx - Project API client
frontend/src/api/projects.js - HTTP client
frontend/src/api/client.js
Backend API
- API application
backend/main.py - Authentication
backend/app/routes/auth.py - API schemas
backend/app/schemas.py
Project domain
- Project operations
backend/app/routes/projects.py
Research tools
- SDG analysis
backend/app/routes/ml.py - Literature Q&A
backend/app/routes/rag.py
Persistence
- User records
backend/app/models/user.py - Project records
backend/app/models/project.py - Literature records
backend/app/models/literature.py - MongoDB
backend/app/core/database.py
Other components
- Faculty
- Student
- Groq service
Connections 34
- Faculty → Web routing: uses
README.md - Student → Web routing: uses
README.md - Web routing → Auth state: provides
frontend/src/App.jsx - Web routing → Role dashboards: routes to
frontend/src/App.jsx - Web routing → Project creation: routes to
frontend/src/App.jsx - Web routing → Project workspace: routes to
frontend/src/App.jsx - Role dashboards → Faculty dashboard: selects
frontend/src/pages/Dashboard.jsx - Project creation → Project API client: calls
frontend/src/api/projects.js - Faculty dashboard → Project API client: calls
frontend/src/api/projects.js - Project workspace → Project API client: calls
frontend/src/api/projects.js - Project API client → HTTP client: uses
frontend/src/api/projects.js - Auth state → Authentication: calls HTTP
frontend/src/context/AuthContext.jsx - HTTP client → API application: sends requests
frontend/src/api/client.js - API application → Authentication: registers
backend/main.py - API application → Project operations: registers
backend/main.py - API application → SDG analysis: registers
backend/main.py - API application → Literature Q&A: registers
backend/main.py - Authentication → User records: reads/writes
backend/app/routes/auth.py - Authentication → Project records: reads
backend/app/routes/auth.py - Authentication → API schemas: uses
backend/app/routes/auth.py - Project operations → User records: uses
backend/app/routes/projects.py - Project operations → Project records: manages
backend/app/routes/projects.py - Project operations → API schemas: uses
backend/app/routes/projects.py - SDG analysis → Project records: analyzes
- Literature Q&A → Project records: checks access
backend/app/routes/rag.py - Literature Q&A → Literature records: reads/writes
backend/app/routes/rag.py - Literature Q&A → User records: checks participant
backend/app/routes/rag.py - Literature Q&A → Authentication: uses auth dependency
backend/app/routes/rag.py - Literature Q&A → API schemas: uses
backend/app/routes/rag.py - Literature Q&A → Groq service: requests completion
backend/app/routes/rag.py - API application → MongoDB: initializes
backend/main.py - MongoDB → User records: registers model
backend/app/core/database.py - MongoDB → Project records: registers model
backend/app/core/database.py - MongoDB → Literature records: registers model
backend/app/core/database.py