https://github.com/toxe/react-axios
React Axios Example
https://github.com/toxe/react-axios
axios example react rest
Last synced: 3 months ago
JSON representation
React Axios Example
- Host: GitHub
- URL: https://github.com/toxe/react-axios
- Owner: Toxe
- License: mit
- Created: 2020-05-16T12:54:14.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-06T02:41:46.000Z (about 5 years ago)
- Last Synced: 2025-02-03T22:38:01.632Z (about 1 year ago)
- Topics: axios, example, react, rest
- Language: JavaScript
- Homepage:
- Size: 350 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React Axios Example
## Dependencies
- Axios
- JSON Server
```
npm install --save axios
npm install -g json-server
```
## Running JSON Server
```
json-server --watch ships.json --port 3001
```
## Running the application
```
npm start
```
### Building and running a production version
```
npm run build
serve -s build
```