This repository is For a web application project. This project is a reservation management system used to reserve slots from a computer labratory.
Instructions:
- Open terminal in and go to the same terminal.
- Type "npm init" to initialize the code.
- Type "npm i express express-handlebars body-parser mongodb bcrypt" or "npm install" to install the necessary modules.
- Type "node app.js" to run the server then go to localhost:3000 on the browser.
Sample Data
- SampleData are located in the sampleData Folder
- Run the app.js first to load the names of the collections
- Import each of the files to their respective collections based on their filenames.
- Refresh the page to show the updated values.
- Structure of the database should look something like this:
- REServerDB
- labs
- reservation
- schedule
- users
- REServerDB
Sample data locations
- All sample datas are located in the date 2024-03-15 of each lab
- Each lab contains the reservation of a different user
- 5 user and 5 labs were generated with 1 reservation per lab