Skip to content

Backend of the Hostel management application build using React JS (TypeScript) , Node JS and Mongo DB

Notifications You must be signed in to change notification settings

Rishikesht1245/Hostel_Management_Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hostel Management Backend

Welcome to the backend repository of the Hostel Management Project. This MERN (MongoDB, Express.js, ReactJS, Node.js) project efficiently manages multiple blocks of rooms in a hostel, providing functionalities for chief wardens, staff (wardens, chefs, maintenance), and students.

Features

Technologies Used

  • TypeScript: A typed superset of JavaScript, bringing static types to the language.
  • NodeJS with Express.js: A backend framework for building scalable and performant server-side applications.
  • MongoDB with Mongoose: A MongoDB object modeling tool designed to work in an asynchronous environment.
  • Socket.io: Enables real-time bidirectional event-based communication.
  • Repository Design Pattern:
    • Extensive use of OOPS programming paradigm.
    • Access to the database is through the repository only.
    • Generic CRUD Repository.
  • Backend Validation:
    • MongoDB Schema: Validator module and in-built validator.
    • Request Body: Yup module and custom RegEx.
    • Request Params: Validator module.
  • Error Handling:
    • Errors handled globally.
    • Errors handled through OOPS programming paradigm.
    • Separation of operational and unexpected errors.

Users

There are three types of users in the system:

  1. Chief Warden (Admin)
  2. Staffs:
    • Warden
    • Chef
    • Maintenance
  3. Student

Getting Started

Prerequisites

  • Node.js: Ensure that Node.js is installed on your machine. You can download it from https://nodejs.org/.
  • MongoDB: Install MongoDB and set up a database for the project.

Installation

  1. Clone the repository:
       git clone https://github.com/Rishikesht1245/Hostel_Management_Backend.git
  1. Navigate to the project directory:
       cd Hostel_Management_Backend
  1. Install dependencies
       npm install
  1. Run the development server
       npm start
  1. View the application: http://localhost:5173

About

Backend of the Hostel management application build using React JS (TypeScript) , Node JS and Mongo DB

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published