https://github.com/fisayoafolayan/consuming-restful-api-in-react
A simple implementation on how to use a RESTful API in React.
https://github.com/fisayoafolayan/consuming-restful-api-in-react
react rest-api
Last synced: 12 months ago
JSON representation
A simple implementation on how to use a RESTful API in React.
- Host: GitHub
- URL: https://github.com/fisayoafolayan/consuming-restful-api-in-react
- Owner: fisayoafolayan
- Created: 2019-03-06T17:17:17.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-03T10:11:28.000Z (about 3 years ago)
- Last Synced: 2025-04-09T20:57:39.085Z (12 months ago)
- Topics: react, rest-api
- Language: JavaScript
- Homepage:
- Size: 1.54 MB
- Stars: 58
- Watchers: 3
- Forks: 65
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Consuming a RESTful API in React
A simple implementation on how to use a RESTful API in React.
To follow along, this application has been documented as an article on Pusher blog. You can read about it [here](https://pusher.com/tutorials/consume-restful-api-react)
## Set up
To set up this project, first clone the repository
```bash
$ git clone https://github.com/fisayoafolayan/consuming-restful-api-in-react.git
```
Change your working directory into the project directory
```bash
$ cd consuming-restful-api-in-react
```
## Run
Install npm modules
```bash
$ npm install
```
Start the application
```bash
$ npm start
```
## Built With
[React](https://github.com/facebook/create-react-app)