/lunar-hotel-frontend

This is a react app which will serve as the front end app for our Lunar hotel back end app.

Primary LanguageJavaScript

LUNAR HOTEL

This is a react app which will serve as the front end app for our Lunar hotel back end app.

Demo Link

https://lunar-hotel.netlify.app/

lunar-hotel netlify app_ lunar-hotel netlify app_ (1) lunar-hotel netlify app_ (2)



Demo Account

email: testuser@test.com
password: testpasswd

The learning objective of this project are

  • Create react front end app
  • Connect react front end app to rails back end
  • Use API end point to get data
  • Fetch data from the API

Built With

  • React
  • Redux

Getting Started

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

Prerequisites

Setup

  • git clone git@github.com:medaminedev66/lunar-hotel-frontend.git

  • cd lunar-hotel-frontend

Running The App Locally

  • Run npm install

  • Make sure to run our Rails backend application first before running the React app so that it takes up the port 3000. This is very important as our rails API end point must run on port 3000 for the API to work.

  • Once the back end is runing on port 3000 then start the react app and you will be prompted to run the server on another port like port 3001. You will receive a message in your terminal like this Would you like to run the app on another port instead? » (Y/n). Please enter y so that the react app will start on port 3001.

Authors

👤 Adedamola Shittu

👤 Amine Smahi

👤 Daniel M. Matongo

👤 Juliana Ifionu

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Hats off to Murat Korkmaz for designing the awesome template that was used. ✨
  • Microverse for giving us this chance
  • The amazing code reviewers for making us improve every day 👍