Giter Site home page Giter Site logo

yousefkotp / vacartion Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 3.0 4.97 MB

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.

JavaScript 58.02% HTML 33.19% CSS 5.16% EJS 3.54% Dockerfile 0.08%
car-rental car-rental-app car-rental-management-system car-rental-marketplace car-rental-service-webapplication car-rental-system car-rental-website expressjs nodejs rental-management

vacartion's Introduction

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

vacartion's People

Contributors

hossamelshamyy avatar mohamedfarid612 avatar yousefkotp avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vacartion's Issues

deploy in prod

Hello,

I am having problems when deploying the project based on yours in production, I know that in vue there is a command that is node build that generates a dist folder that is what is deployed, but with this format I can't find how to do it, can you please tell me?

Muy buena aportación

Hola,

simplemente, escribirte y decirte que muy buena aportación, estaba buscando algo parecido, he tenido que modificar un par de cosas y añadir algo (por ejemplo, posibilidad de quitar la reserva) y me va a servir mucho.

Un trabajo muy bueno, lo que habéis hecho y mis felicitaciones.

Si queréis que os pase la forma de borrar la reserva, os lo puedo pasar sin problema, también he quitado el coste, ya que es algo individual y no tendría coste el alquiler.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.