Skip to content

eyadashrafkh/CarRentalSys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VaCarTion

Table of Contents

Overview

A car rental system which enables customers to rent cars they need and manage their reservations with the option of paying later. The car agencies are allowed to register on the system and add their cars to the system. The system admin can manage the whole system. The system is built using Node.js and Express.js. The database is built using MySQL.

Dependencies

npm install

Database Schema

DDL

  • You can create your database schema by running the Data Definition script in Database Schema

ER Diagram

ER Diagram

Deployment

1- Create a database with the explained database schema and ER diagram

2- Configure the .env file and set the following variables:

- DB_HOST 
- DB_USER 
- DB_PORT 
- DB_PASS 
- DB_NAME 
- ACCESS_TOKEN_SECRET -> Secret key for generating access tokens 
- EMAIL -> Email address from which you want to send the emails 
- PASSWORD -> Password of the email address 

3- Make sure you have installed all the dependencies by running the following command in the terminal:

npm install

4- Run the following command in the terminal to start the server:

npm start

5- Open the browser and go to the following link:

http://localhost:3000
  • Note: If you want to run the server on a different port, you can change the port number in app.js file

Screenshots

Landing Page

Screenshot 2024-01-12 133322

Office Agent Dashboard

Screenshot 2024-01-12 133543

Customer Dashboard

Screenshot 2024-01-12 133619

Reservation Page

Screenshot 2024-01-12 133630

Contributers

  1. Iyad Ashraf

  2. Omar Atef

About

A car rental system that allows customers to rent vehicles of their choice and manage their reservations, with the flexibility to pay later. Car agencies can register on the platform and list their available cars. A system administrator oversees and manages the entire system.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors