Skip to content
This repository has been archived by the owner on Dec 27, 2020. It is now read-only.

axios-iiitl/Hostel-Managment-Portal

Repository files navigation

Hostel Management Portal of IIIT Lucknow

A simple Hostel Management Portal based on Node.js with custom Admin and Student Dashboard.

Instructions for Setup:

  1. Download the zip file and extract it to a New Folder.
  2. Open terminal and navigate to the folder.

Setting Up Server:

  • Make the folder config inside the new folder and the file keys.js inside it.
  • Use MongoDB as the database for this project.
  • Make Database having collections named as users,leaves and admins.
  • Make file keys.js like this: key.js

Enabling Login with Google:

A guide about this can be found here: Simple guide to get clientID and clientSecret.

  • Put these keys in keys.js.
  1. Download all the dependencies which are in package.json.
  2. Run the command npm start to start the project.

Admin Dashboard:

  • Admin can see the Contact Information , Item Information and the past leaves of the particular student in the dashboard.
  • Admin can approve or reject the leave request of the student from the dashboard.

User/Student Dashboard:

  • He/She can edit the Items and Contact information.
  • They can request for the leave application and can review whether it gets approval or not.
  • User can not create more than one applications at a time and he/she can create once it gets approved or reject.

Developed by:

Rishabh Shukla, Lav Joshi and Pathan Moin Khan