The E-Learning Management System Frontend is the frontend component of the E-Learning Management System, a web-based application that allows administrators and users to interact with the e-learning platformβs various components. The frontend is developed with Angular, and the backend is built using Django REST Framework.
This frontend project is built with Angular, a popular web application framework developed by Google. It provides a user-friendly interface for managing courses, lessons, users, enrollments, and progress tracking. The frontend interacts with the backend APIs defined by Django to fetch and update data, handle user authentication, and display dynamic content.
Home Page:
Course List:
Lesson List:
User List:
Enrollment List:
Progress List:
Login Page:
The repository is organized as follows:
Learning-Management-System/
βββ LMS-Backend
β βββ (Backend code)
β βββ ...
βββ LMS-Frontend
β βββ angular.json
β βββ package.json
β βββ README.md
β βββ LICENSE
β βββ app/
β β βββ src/
β β β βββ app/
β β β β βββ auth/
β β β β β βββ login/
β β β β β β βββ login.component.ts
β β β β β β βββ login.component.html
β β β β β β βββ login.component.css
β β β β βββ core/
β β β β β βββ footer/
β β β β β β βββ footer.component.ts
β β β β β β βββ footer.component.html
β β β β β β βββ footer.component.css
β β β β β βββ header/
β β β β β β βββ header.component.ts
β β β β β β βββ header.component.html
β β β β β β βββ header.component.css
β β β β βββ pages/
β β β β β βββ home/
β β β β β β βββ notfound.component.ts
β β β β β β βββ notfound.component.html
β β β β β β βββ home.component.css
β β β β βββ components/
β β β β β βββ course-list/
β β β β β β βββ course-list.component.ts
β β β β β β βββ course-list.component.html
β β β β β β βββ course-list.component.css
β β β β β βββ lesson-list/
β β β β β β βββ lesson-list.component.ts
β β β β β β βββ lesson-list.component.html
β β β β β β βββ lesson-list.component.css
β β β β β βββ user-list/
β β β β β β βββ user-list.component.ts
β β β β β β βββ user-list.component.html
β β β β β β βββ user-list.component.css
β β β β β βββ enrollment-list/
β β β β β β βββ enrollment-list.component.ts
β β β β β β βββ enrollment-list.component.html
β β β β β β βββ enrollment-list.component.css
β β β β β βββ progress-list/
β β β β β β βββ progress-list.component.ts
β β β β β β βββ progress-list.component.html
β β β β β β βββ progress-list.component.css
β β β β βββ services/
β β β β β βββ auth.interceptor.ts
β β β β β βββ auth.service.ts
β β β β β βββ user.service.ts
β β β β β βββ course.service.ts
β β β β β βββ lesson.service.ts
β β β β β βββ enrollment.service.ts
β β β β β βββ progress.service.ts
β β β β βββ app.routes.ts
β β β β βββ app.component.ts
β β β β βββ app.config.ts
β β β β βββ app.config.service.ts
β β β β βββ app.component.html
β β β β βββ app.component.css
β β β βββ assets/
β β β β βββ images/
β β β β βββ .gitkeep
β β β βββ main.ts
β β β βββ styles.css
β β β βββ index.html
β β βββ .editorconfig
β β βββ .gitignore
β β βββ angular.json
β β βββ package.json
β β βββ package-lock.json
β β βββ tsconfig.json
β β βββ tsconfig.app.json
β β βββ tsconfig.spec.json
β βββ LICENSE
β βββ README.md
βββ .gitignore
βββ LICENSE
βββ README.md
Make sure you have the following installed on your machine:
To check if you have these installed, run:
node -v
npm -v
ng version
python --version
It is of utmost importance to set up the backend server before running the frontend application.
Navigate to the backend directory:
cd Learning-Management-System/LMS-Backend
Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
Install dependencies:
pip install -r requirements.txt
Run the backend server:
python manage.py runserver
Navigate to the frontend directory:
cd Learning-Management-System/LMS-Frontend/app
Install dependencies:
npm install
Start the development server:
ng serve
Open your browser and navigate to:
http://localhost:4200
http://localhost:4200
. This should have been set up already in the Django backend.localStorage
after login and is sent with each request that requires authorization.http://127.0.0.1:8000
.Feel free to submit issues and contribute to the development of this project by opening a pull request.
This project is licensed under the MIT License.
If you have any questions or need further assistance, feel free to contact me at hoangson091104@gmail.com.