Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

University Course Management API

Node.js Express.js MongoDB JWT License: MIT

A RESTful backend API for managing users, faculty members, and university courses. Built using Node.js, Express.js, MongoDB, and JWT Authentication following a clean MVC architecture.


Features

  • 🔐 JWT Authentication
  • 👤 User Management
  • 🎓 Faculty Management
  • 📚 Course Management
  • 🛡️ Protected Routes
  • 🔑 Password Hashing
  • 🌱 Database Seeder
  • 🌐 RESTful API Architecture
  • 🗄️ MongoDB Integration

Tech Stack

Technology Purpose
Node.js JavaScript Runtime
Express.js Backend Framework
MongoDB Database
Mongoose ODM
JWT Authentication
bcrypt Password Hashing
dotenv Environment Variables

Project Structure

.
├── config/
├── controller/
├── middleware/
├── models/
├── seeder/
├── utils/
├── server.js
├── package.json
└── .env

Installation

Clone the repository

git clone https://github.com/devawais01/university-course-management-api.git

Navigate to the project

cd university-course-management-api

Install dependencies

npm install

Create a .env file

PORT=5000
MONGO_URI=your_connection_string
JWT_SECRET=your_secret

Run the server

Development

npm run dev

Production

npm start

Database Seeder

Populate sample data

npm run seed

API Modules

  • Authentication
  • Users
  • Faculty
  • Courses

Security

  • JWT Authentication
  • Password Hashing
  • Protected Routes
  • Environment Variables

Future Improvements

  • Student Enrollment
  • Attendance Management
  • Grades & Results
  • Swagger Documentation
  • Docker Support
  • CI/CD
  • Automated Testing

Author

Muhammad Awais

GitHub: https://github.com/devawais01

LinkedIn: https://www.linkedin.com/in/dev-awais01


License

Licensed under the MIT License.

See the LICENSE file for details.

About

RESTful backend API for a University Course Management System built with Node.js, Express, MongoDB, JWT Authentication, and Role-Based Access Control.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages