This web application simplifies the process of reserving vehicle parking spots within a college campus. It provides students and faculty the ability to book a parking space ahead of time, ensuring a hassle-free experience when arriving on campus.
- Secure user authentication and authorization system
- Real-time availability of parking spots
- Easy booking system to reserve parking in advance
- Manage and cancel existing bookings
- Fully responsive design for optimal viewing on both mobile and desktop devices
- Node.js: Install the latest version of Node.js from Node.js Official Site.
- npm: Comes pre-installed with Node.js; verify with
npm -v. - MongoDB Atlas: Create an account and set up a cluster at MongoDB Atlas.
-
Clone the repository to your local system:
git clone https://github.com/Ankith-m1006/Parking-Management-System.git
-
Install backend dependencies:
- Navigate to the backend directory:
cd BACKEND/Backendtemplate npm install
- Navigate to the backend directory:
-
Install frontend dependencies:
- Navigate to the frontend directory:
cd FRONTEND/ParkingLotManagement npm install
- Navigate to the frontend directory:
-
Configure environment variables:
- In the
BACKEND/Backendtemplatedirectory, rename.env.exampleto.env, and fill in the required details as specified in the file.
- In the
-
Start the backend server:
cd BACKEND/Backendtemplate npm run dev -
Start the frontend server:
cd FRONTEND/ParkingLotManagement npm run dev -
Open your browser and navigate to
http://localhost:5173to access the application.
- When registering as an admin, the default password is set to
book123.
- Register or log in using your credentials.
- Visit the "Available Spots" section.
- Choose your preferred date and time for parking.
- Select a parking spot from the available options.
- Confirm your reservation by clicking "Book Now."
- Access the "My Bookings" page from your dashboard.
- View all your upcoming reservations.
- Select a booking to modify or cancel as needed.
- Ankith M - 22bsm006@iiitdmj.ac.in
