A simple Hostel Management Portal based on Node.js with custom Admin and Student Dashboard.
- Download the zip file and extract it to a New Folder.
- Open terminal and navigate to the folder.
- 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:
A guide about this can be found here
: Simple guide to get clientID and clientSecret.
- Put these keys in keys.js.
- Download all the dependencies which are in package.json.
- Run the command npm start to start the project.
- 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.
- 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.