Git Product home page Git Product logo

hostel-management-system-backend's Introduction

Hostel Management System - Backend

This repository contains the backend for the project Hostel Management System. The backend is built on Node JS and Express JS. This system is designed to handle various functionalities required to manage hostel operations efficiently. It provides APIs to interact with the database and manage different aspects of the hostel.

Technologies Used

  • Node.js: Backend server is built using Node.js for its fast and scalable features.
  • Express: Express is used as the web application framework to handle routing and middleware.
  • MongoDB: MongoDB serves as the database to store all hostel-related data.
  • Mongoose: Mongoose is used as an Object Data Modeling (ODM) library to interact with MongoDB.
  • bcrypt: To securely hash passwords for user authentication.

Getting Started

To get a local copy up and running, follow these simple steps.

Prerequisites

  • Node.js (at least version 12.x)
  • MongoDB (Make sure MongoDB server is running)

Installation

  1. Clone the repository:
git clone https://github.com/Aradhya0/Hostel-Management-System-Backend.git
cd Hostel-Management-System-Backend
  1. Install dependencies
npm install
  1. Set up environment variables:

Create a .env file in the root directory. Add the required environment variables like PORT, MONGODB_URI etc.

  1. Start the server
npm start

Usage

The backend server should now be running at http://localhost:3000 or the port specified in the .env file.

Use Postman or any other API client to interact with the server and access the different endpoints.

hostel-management-system-backend's People

Contributors

aradhya0 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.