In this project, I developed a frontend web application, Car Rentals using Car Rentals API - Repo I also develop, a requirement for my final capstone project to consume the data using React Application.
The application features includes:
- A proper Authentication for Sign in and Sign up
- A secure page that requires authentication using JWT
- Listing of Cars for Hire
- User can add car to favourites
- User can access list of cars added as favourites
To get a local copy up and running follow these simple example steps.
Make sure Node.js is running on your local machine
$ git clone https://github.com/tGodson/car-rental-react.git
$ cd rcar-rental-react
Install modules:
yarn add
Start server with:
yarn start or npm start
Jest is used to run all the tests found in this application
In order to run the test you can simply type yarn test
or npm run test
Either ways, if you encounter any error while running either command, its likely you do not have jest
installed globally, so please run npm install -g jest-cli
then try again. That should do it.
git add .
git commit -m "ready for first push to heroku"
heroku create $APP-NAME --buildpack mars/create-react-app
git push heroku $BRANCH_NAME:master
Fire up your app by running heroku open
Yay!!! your app has been deployed successfully.
👤 Tendongze Godson
- Email: Email
- Github: tGodson
- Twitter: @tendongze95
- Linkedin: tendongzegodson
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Microverse Inc
- Design Inspiration, Design Idea by Alexey Savitskiy on Behance