How palurujaswanth/learning_management_system works
This repository contains an online learning management system with two distinct runtime implementations: a browser frontend backed by a monolithic Express server, and a separate Express course API. The browser flow handles signup, login, and course listing; the monolithic server excerpt also documents enrollment, profiles, and reviews. A second backend exposes basic course listing and creation. The README is empty, and the frontend/server excerpt is partial, so some UI and server relationships are not shown.
Main entry points: frontend/server.js LMS HTTP Server · backend/server.js Course API Server · main.js Browser Handlers · api.js API Client
Components 15
Browser Experience
- Auth and Courses Pages
frontend/login.html - Browser Handlers
frontend/js/main.js - API Client
frontend/js/api.js
LMS Server
- LMS HTTP Server
frontend/server.js - Authentication
frontend/server.js - Course Catalog
frontend/server.js - Enrollment and Profile
frontend/server.js - Course Reviews
frontend/server.js
Course API
- Course API Server
backend/server.js - Course Routes
backend/routes/courses.js - Course Model
backend/models/course.js
Persistence
- LMS MongoDB
- MongoDB
Other components
- Learner
- Configured Hosted API
Connections 12
- Learner → Browser Handlers: submits forms
frontend/js/main.js - Browser Handlers → API Client: calls auth and catalog
frontend/js/main.js - API Client → Configured Hosted API: sends HTTP requests
frontend/js/api.js - LMS HTTP Server → Authentication: handles auth routes
frontend/server.js - LMS HTTP Server → Course Catalog: handles course routes
frontend/server.js - LMS HTTP Server → Enrollment and Profile: handles account routes
frontend/server.js - LMS HTTP Server → Course Reviews: handles review routes
frontend/server.js - LMS HTTP Server → LMS MongoDB: connects and queries
frontend/server.js - Course API Server → Course Routes: mounts routes
backend/server.js - Course API Server → MongoDB: connects MongoDB
backend/server.js - Course Routes → Course Model: queries and saves
backend/routes/courses.js - Course Model → MongoDB: defines persisted model