Abdusaid10 / car-rental-client

This is a car booking app that allows logged in users to book an available car.

Home Page:https://car-rental-client.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Car-Rental-Rlient

It is a single-page application, to book a car. This repository contains only frontend of the project, backend can be found here and the live version of it here. The home page of an app contains a list of cars that can be filtered and accessed to the details of a car and book it for one or a few days. To book a car you must log in or sign up. Also, there is an admin panel, admin can create/update/delete a new car/manufacturer/category.

Technologies Used

  • Node.js
  • React
  • React-DOM
  • React-Create-App
  • Redux
  • npm
  • HTML/CSS
  • ES6
  • ESlint
  • Netlify
  • Axios

Live version

A live version is hosted on Netlify.

Run Locally

To get a local copy up and running follow these simple example steps.

Firstly clone the back end.

git clone https://github.com/Abdusaid10/car-rental-api
cd car-rental-api

Install dependencies

bundle install

Create db

rails db:create

Migrate db

rails db:migrate

Seed db

rails db:seed

Run Locally

rails s

It runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

And here are the steps to run the front end

git clone https://github.com/Abdusaid10/car-rental-client
cd car-rental-client

Install dependencies

npm install

Build project

npm build

Run Locally

npm start

npm start

Runs the app in the development mode.
Open http://localhost:3001 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

πŸ‘€ Author

Abdusaid Abdurasulov

🀝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

  1. Fork it (https://github.com/Abdusaid10/car-rental-client/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Show your support

Give a ⭐️ if you enjoyed this project!

πŸ“ License

This project is MIT licensed.

About

This is a car booking app that allows logged in users to book an available car.

https://car-rental-client.netlify.app/

License:MIT License


Languages

Language:JavaScript 90.5%Language:CSS 7.2%Language:HTML 2.2%