A website to reserve or book a amenity in NITC developed using MERN stack with a special authority called Admin.
User can only book the facility iff, he is logged in, and NavBar changes according to his login Status .
Siruvalam Karthik
Putta Suman Rao
Nelluru Keerthi Bhavan
-> Can Create a fctype (Ex: computer / court )
-> Can Manage them
-> Can Create a facility (Ex : OAT )
-> Can Manage them
-> View All Bookings
-> View All Cancellations with Reasons
-> Can select any computer/court in a facility
-> Add them to a Cart
-> Confirm the Booking
-> Cancel the Booking
This Project was made using MERN tech stack (Mongodb , Expressjs , Reactjs , Node js )
Check whether your system contains node or not using this command : "node --version"
If you get an error download the node from "https://nodejs.org/en/download/" website. Also install npm during installation process of node.
For mongodb download compass app from "https://www.mongodb.com/try/download/compass" website. Once it installed properly connect to mongodb server and create a aollection for your application and remember link to this database.
Once all this is configured follow the below steps to make application up and running.
Steps to Project Setup : Backend Setup :
- Open the Backend folder in CODE folder
- Open terminal and use the command "npm install" to install the required node modules
- Edit the PORT Number and Database Link in .env file
- Use Command "npm run dev" to start the backend
Frontend Setup :
- Open the Frontend folder in CODE folder
- Open terminal and use the command "npm install" to install the required node modules
- Edit the REACT_APP_BACKEND to Backend Link , It will "http://localhost:PORT/"(make sure you keep last backslash) PORT is the port number you mentioned in .env file in backend.
- Use Command "npm start" to start the frontend.
Admin Setup :
- Modify the role of a user in database as 1 and he can be a Admin.
Home : Once its done you can access your application from "http://localhost:3000/"