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.
- Node.js
- React
- React-DOM
- React-Create-App
- Redux
- npm
- HTML/CSS
- ES6
- ESlint
- Netlify
- Axios
A live version is hosted on Netlify.
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
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.
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.
- Github: @Abdusaid10
- Twitter: @abdusaid_A
- Linkedin: Abdusaid Abdurasulov
- AngelList: Abdusaid Abdurasulov
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
- Fork it (https://github.com/Abdusaid10/car-rental-client/fork)
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Give a ⭐️ if you enjoyed this project!
This project is MIT licensed.