Vacation Booking App is an online booking app that allows users to see destinations, reserve a destination,view all their reservations. Regestered users are able to view a list of destinations they booked. Only admin users are allowed to add and delete destinations.
The app consumes an API created using the Ruby on Rails framework. Link to API repo click here
Click here to open the app.
- React
- Redux
To get a local copy up and run the app, follow these simple example steps.
- Node.js > 16.13.0
- npm > 8.1.3
- yarn > 1.22.15
Clone the repository with:
git clone git@github.com:danmainah/vacations-booking-front-end.git
or download ZIP file
To install all dependencies, run:
npm install
To open it in the browser, in the project directory, run:
npm start
Choose port 3001 or any other port number different from 3000 to run your server on it and open
http:localhost:port_number/
on your browser.
Since this repo contains the front-end app only,if you want to run the back-end localy please look for the back-end app. If you want to use your local server you will need to update urls in helper functions:
src/helpers
destroyDestination.js
destroyReservation.js
getDestinations.js
getResrvations.js
postDestinationData.js
postReservation.js
Make sure that instead of https://booking-vacations.herokuapp.com
you put http://localhost:3000
!
You should be able to see the home page now.
To test the application please run:
npm test
👤 Aleksandar Ivezic
- GitHub: @Aleksandar Ivezic
- Twitter: @AIvezic
- LinkedIn: Aleksandar Ivezic
👤 Vo Thi Quynh Yen
- GitHub: @themonster2015
- LinkedIn: LinkedIn
👤 Hubert MUGABO
👤 Igor Koloski
- GitHub: @igorkol91
- Twitter: [@Destro49536502]
- LinkedIn: LinkedIn
👤 Daniel Maina
- GitHub: @danmainah
- Twitter: @Danmainah
- LinkedIn: @Daniel-Maina
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- This project was inspired by Microverse
- Murat Korkmaz for the amazing design
This project is MIT licensed.