Skip to content

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.

Notifications You must be signed in to change notification settings

yousefkotp/VaCarTion

Repository files navigation

VaCarTion

  • You can check the live demo of the system here

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

Authentication and Authorization

  • The system uses JSON Web Tokens for authentication and authorization.
  • The system uses cookie-parser to store the access token in the cookies.

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 index.js file

Screenshots

Landing Page

image

Office Agent Dashboard

image

Customer Dashboard

image

Reservation Page

image

Contributers

  1. Yousef Kotp

  2. Mohamed Farid

  3. Adham Mohamed

  4. Hossam Elshamy

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published