Skip to content

hazgan12/vehicle-rental-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vehicle Rental Frontend (With React Js)

react react-router-dom Redux react-redux Redux-promise-middleware axios Bootstrap sweetalert2 react-responsive-carousel

Vehicle Rental website is a service for renting a vehicle, using javascript, html, css, and React js framework

Features

There are several features of this API and End Point, as below :

Public

  • Register
  • Login
  • Forgot Password
  • List Vehicle along with search, filter, sort and pagination features
  • Vehicle Detail
  • Reservation (but can't make a reservation with the vehicle you rent)
  • Reservation history

Tenant

  • Add Vehicle
  • Edit Vehicle
  • Delete Vehicle

How to Run the Application

1 Clone Repository

Clone this repository by running the following command :

git clone https://github.com/Hazgn/vehicle-rental-react.git

2 Install dependencies Package

Install the dependencies package inside the application folder by running this command :

npm install

OR

npm i

3 Setups Project

  • Setups Environment File
  • Create file name .env.local on the folder project Create an .env.local file name in the project folder, then fill in the variables like this :

    REACT_APP_HOST http://localhost:8000

    note : http://localhost:8000 this is localhost backend, to setup & running backend: click here

    4 Run Project

    Run the app in development mode after server/backend is running. with a command like the following :

    npm start
    

    Open http://localhost:3000 in your browser after project is running.

    Deployment

    Related Projects