This is a react app which will serve as the front end app for our Lunar hotel back end app.
https://lunar-hotel.netlify.app/
email: testuser@test.com
password: testpasswd
- 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
- React
- Redux
To get a local copy up and running follow these simple example steps.
-
git clone git@github.com:medaminedev66/lunar-hotel-frontend.git
-
cd lunar-hotel-frontend
-
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 onport 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 likeport 3001
. You will receive a message in your terminal like thisWould you like to run the app on another port instead? » (Y/n)
. Please entery
so that the react app will start onport 3001
.
👤 Adedamola Shittu
- GitHub: @dammyShittu
- Twitter: @aded_shittu
- LinkedIn: Adedamola Shittu
👤 Amine Smahi
- GitHub: @medaminedev66
- Twitter: @medaminesmahi
- LinkedIn: Mohammed Amine Smahi
👤 Daniel M. Matongo
- GitHub:@mmmatongo
- LinkedIn: LinkedIn
👤 Juliana Ifionu
- GitHub: @julie-ify
- LinkedIn: Juliana Ifionu
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- 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 👍