This app fetches API from a Rails application endpoint. It was built in tandem with another Rails application
- React
- Click the green
Code
button on the repo - In your local PC, open your terminal in the folder you would like to clone the project.
- Clone the repo with the command:
git clone (copied link)
; like so:git clone https://github.com/TedLivist/hello-react-front-end.git
- On the terminal, navigate into the directory like so:
cd hello-react-front-end
- Checkout to branch name like so:
git checkout [branch name]
- Run
npm i
oryarn
to install the dependencies - Run
npm start
oryarn start
to start the application
- This app is accompanied with a Rails backend which can be found here
- Be sure to have run the accompanying Rails application before running this application
- Visit the
/greeting
route to view the randomly generated greeting from the Rails app
👤 Teddy-Livingstone Ememandu
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Hat tip to anyone whose code was used
- Inspiration
- etc