LMS/README.md
2025-09-01 19:37:35 +05:30

94 lines
2.2 KiB
Markdown

# 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
1. **Clone the repository**
```bash
git clone <repository-url>
cd angular-lms
```
2. **Install Frontend Dependencies**
```bash
# Install student frontend dependencies
cd E-Learning-Frontend-main
npm install
# Install admin frontend dependencies
cd ../E-Learning-Admin-frontend-main
npm install
```
3. **Install Backend Dependencies**
```bash
# Install backend dependencies
cd ../E-Learning-Backend-main
npm install
```
### Running the Application
1. **Start the Backend Server**
```bash
cd E-Learning-Backend-main
npm start
# or
node server.js
```
2. **Start the Student Frontend**
```bash
cd E-Learning-Frontend-main
ng serve
```
3. **Start the Admin Frontend**
```bash
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.