E-Learning Management System API

Project Overview
This is a Learning Management System (LMS) built with Node.js, Express, and MongoDB. The system allows management of courses, enrollments, and user authentication.

Key Features

User Authentication (JWT-based)
Course Management
Stude…


This content originally appeared on DEV Community and was authored by Jibrin Masud

Project Overview
This is a Learning Management System (LMS) built with Node.js, Express, and MongoDB. The system allows management of courses, enrollments, and user authentication.

Key Features

  • User Authentication (JWT-based)
  • Course Management
  • Student Enrollment TSIE-Learning/ ├── controllers/ │ ├── AuthController.js │ ├── BookController.js │ ├── CoursesController.js │ └── EnrollmentController.js ├── models/ │ ├── User.js │ ├── Course.js │ ├── Book.js │ └── Enrollment.js ├── routes/ │ ├── auth.js │ ├── book.js │ ├── course.js │ ├── enrollment.js │ └── index.js ├── middleware/ │ └── authmiddleware.js ├── app.js └── package.json API Endpoints Authentication
  • POST /auth/register - Register new user
  • POST /auth/login - User login Courses
  • GET /course - List all courses
  • POST /course - Create new course
  • GET /course/:id - Get course details
  • PUT /course/:id - Update course
  • DELETE /course/:id - Delete course Enrollments
  • GET /enrollment - List enrollments
  • POST /enrollment - Create enrollment
  • DELETE /enrollment/:id - Cancel enrollment

Security Features

  • JWT-based authentication
  • Middleware protection for routes
  • Password hashing with bcrypt
  • Environment variable configuration Development Setup # Install dependencies npm install

Start development server

npm run dev

Production start

npm start
Note: This project serves as a foundation for building a comprehensive learning management system with modern web technologies and best practices in mind.


This content originally appeared on DEV Community and was authored by Jibrin Masud


Print Share Comment Cite Upload Translate Updates
APA

Jibrin Masud | Sciencx (2025-02-14T16:45:46+00:00) E-Learning Management System API. Retrieved from https://www.scien.cx/2025/02/14/e-learning-management-system-api/

MLA
" » E-Learning Management System API." Jibrin Masud | Sciencx - Friday February 14, 2025, https://www.scien.cx/2025/02/14/e-learning-management-system-api/
HARVARD
Jibrin Masud | Sciencx Friday February 14, 2025 » E-Learning Management System API., viewed ,<https://www.scien.cx/2025/02/14/e-learning-management-system-api/>
VANCOUVER
Jibrin Masud | Sciencx - » E-Learning Management System API. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/02/14/e-learning-management-system-api/
CHICAGO
" » E-Learning Management System API." Jibrin Masud | Sciencx - Accessed . https://www.scien.cx/2025/02/14/e-learning-management-system-api/
IEEE
" » E-Learning Management System API." Jibrin Masud | Sciencx [Online]. Available: https://www.scien.cx/2025/02/14/e-learning-management-system-api/. [Accessed: ]
rf:citation
» E-Learning Management System API | Jibrin Masud | Sciencx | https://www.scien.cx/2025/02/14/e-learning-management-system-api/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.