| E-Learning-Admin-frontend-main | ||
| E-Learning-Backend-main | ||
| E-Learning-Frontend-main | ||
| .gitignore | ||
| README.md | ||
E-Learning Platform
A comprehensive e-learning platform consisting of three main components:
Project Structure
├── E-Learning-Frontend-main/ # Student/User Frontend (Angular)
├── E-Learning-Admin-frontend-main/ # Admin Frontend (Angular)
└── E-Learning-Backend-main/ # Backend API (Node.js)
Components
1. E-Learning Frontend (Student/User Interface)
- Technology: Angular
- Purpose: Main user interface for students and learners
- Location:
E-Learning-Frontend-main/
2. E-Learning Admin Frontend (Administrative Interface)
- Technology: Angular
- Purpose: Administrative interface for managing courses, users, and content
- Location:
E-Learning-Admin-frontend-main/
3. E-Learning Backend (API Server)
- Technology: Node.js
- Purpose: RESTful API server providing data and business logic
- Location:
E-Learning-Backend-main/
Getting Started
Prerequisites
- Node.js (v14 or higher)
- npm or yarn
- Angular CLI (for frontend projects)
Installation
-
Clone the repository
git clone <repository-url> cd angular-lms -
Install Frontend Dependencies
# Install student frontend dependencies cd E-Learning-Frontend-main npm install # Install admin frontend dependencies cd ../E-Learning-Admin-frontend-main npm install -
Install Backend Dependencies
# Install backend dependencies cd ../E-Learning-Backend-main npm install
Running the Application
-
Start the Backend Server
cd E-Learning-Backend-main npm start # or node server.js -
Start the Student Frontend
cd E-Learning-Frontend-main ng serve -
Start the Admin Frontend
cd E-Learning-Admin-frontend-main ng serve --port 4201
Development
- Backend API: Runs on default port (check server.js for configuration)
- Student Frontend: Runs on
http://localhost:4200 - Admin Frontend: Runs on
http://localhost:4201
Database
The backend includes a SQL database file (elearning2.sql) that should be imported into your database system.