https://github.com/freyhill/react-full-stack
π¨βπ¨βπ§βπ¦Use react, redux, react-redux, react- router,webpack,node to gradually build complex applications
https://github.com/freyhill/react-full-stack
javascript nodejs react react-redux react-router redux webpck
Last synced: 3 months ago
JSON representation
π¨βπ¨βπ§βπ¦Use react, redux, react-redux, react- router,webpack,node to gradually build complex applications
- Host: GitHub
- URL: https://github.com/freyhill/react-full-stack
- Owner: freyhill
- Created: 2019-03-08T07:37:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-07-05T14:16:41.000Z (almost 6 years ago)
- Last Synced: 2026-01-03T17:17:17.576Z (6 months ago)
- Topics: javascript, nodejs, react, react-redux, react-router, redux, webpck
- Language: JavaScript
- Homepage:
- Size: 89.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# version-1.2-redux-thunk
## install json-server
json-server ε―δ»₯樑ζζ₯ε£θ―·ζ±οΌ
```
npm install -g json-server
```
εε»ΊδΈδΈͺjsonζδ»Ά
```
cd api
touch data.json
```
data.json
```
{
"userInfo": {
"name": "leinov2"
},
"student": [
{
"name": "leinov2",
"id": 12
},
{
"name": "hahah",
"id": 13
},
{
"name": "hahah",
"id": 14
},
{
"name": "leinov2",
"id": 15
}
]
}
```
start server
```
json-server --watch data.json
```
and visted ```localhost:3000/student```