This is a simple example of how working with a REST API may look like, done in React.
- Clone this repository
git clone https://github.com/farrelmahaztra/react-with-api.git
- Move into the directory
cd react-with-api
- Install dependencies
npm install
- Run the app
npm start
- Like with last week's state management talk, this isn't the only way to work with a REST API from a frontend. There's plenty to improve!