How sanzzz1125/fullstackcompass works
FullStack Compass is a MERN learning platform: learners enter through the React app, navigate structured lessons and practice material, and can use learning tools such as projects, clones, and interview prep. The client also supports accounts and saved learning state; API routes provide authentication and progress endpoints, with a separate Express progress service backed by MongoDB. The README documents a broad curriculum and practical learning features; unsampled pages are represented by their shared pages directory. Their internal behavior and some API wiring are not shown.
Main entry points: Layout.jsx Learning layout · pages Web foundations · auth Auth endpoints · server.js Express service
Components 24
Learning content
- Web foundations
client/src/pages - Frontend learning
client/src/pages - Backend learning
client/src/pages - Data learning
client/src/pages - Production topics
client/src/pages - Quality topics
client/src/pages
Practice tools
- Projects and clones
client/src/pages - Interview tools
client/src/pages - Code examples
client/src/components/CodeBlock.jsx - Practice arena
client/src/components/PracticeArena.jsx - Learning resources
client/src/components/ResourceCard.jsx
Client experience
- React app
client/src/App.jsx - Learning layout
client/src/components/Layout.jsx
Accounts and progress
- Account state
client/src/context/AuthContext.jsx
API services
- Auth endpoints
client/api/auth - JWT helpers
client/api/lib/auth.js - User model
client/api/lib/models/User.js - API database connector
client/api/lib/db.js - Express service
server/server.js - Progress routes
server/routes/progress.js - Progress store model
server/models/Progress.js
Other components
- Learner
- MongoDB
- API service
Connections 22
- Learner → React app: uses
README.md - React app → Learning layout: routes through
client/src/App.jsx - Learning layout → Web foundations: renders lessons
- Learning layout → Frontend learning: renders lessons
- Learning layout → Backend learning: renders lessons
- Learning layout → Data learning: renders lessons
- Learning layout → Production topics: renders lessons
- Learning layout → Quality topics: renders lessons
- Learning layout → Projects and clones: renders tools
- Learning layout → Interview tools: renders tools
- Web foundations → Code examples: uses examples
client/src/pages/HTML.jsx - Web foundations → Practice arena: uses exercises
client/src/pages/HTML.jsx - Web foundations → Learning resources: shows resources
client/src/pages/HTML.jsx - Account state → Auth endpoints: requests auth
client/src/context/AuthContext.jsx - Auth endpoints → JWT helpers: uses tokens
client/api/auth/login.js - Auth endpoints → User model: reads users
client/api/auth/login.js - Auth endpoints → API database connector: connects database
client/api/auth/login.js - Account state → API service: syncs progress
client/src/context/AuthContext.jsx - API service → Express service: serves progress
- Express service → Progress routes: mounts routes
server/server.js - Progress routes → Progress store model: queries progress
server/routes/progress.js - Express service → MongoDB: connects database
server/server.js