Hello React Frontend is a simple React app that displays a random greeting when connecting to the API. It uses Redux to manage the global state, which is generated with data fetched from an API built with Ruby on Rails which you can find here.
Client
Server
Database
- Displays a random greeting in a component.
- Redux Toolkit is used for state management.
- Data fetch is done using
createAsyncThunk
and requesting data from the API built with Rails.
This is just an exercise for Microverse Bootcamp and won't be deployed.
To get a local copy up and running, follow these steps.
To run this project you need:
- Ruby version 2.7.0+
- Rails version 7+
- PostgreSQL
- Node.js
- Npm or Yarn
Clone this repository to your desired folder:
https://github.com/crclothier/hello-react-front-end.git
cd hello-react-front-end
Install this project's dependencies with:
npm install
or
yarn install
To start the server run:
npm start
or
yarn start
This will start the server on http://localhost:4000/
N/A
N/A
👤 Chris Clothier
- GitHub: @CRClothier
- LinkedIn: LinkedIn
User greetings - add a form so the user can suggest new random greetings. Add CSS animations - Add animations for the greetings to appear on screen creatinga great user experience.
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project please give it a star ⭐
- Microverse Bootcamp
- Your name will be here if you contribute 😎
This project is MIT licensed.