An open API service indexing awesome lists of open source software.

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

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```