Mock script removed & README updated

This commit is contained in:
Guzel738 2021-01-19 12:47:01 +03:00
parent 0a0b79ec55
commit 3357820a44
2 changed files with 0 additions and 5 deletions

View file

@ -24,10 +24,6 @@ If you plan to use full fake REST API you have to update `.env`.
```
REACT_APP_API_URL=http://localhost:3004
```
Start JSON Server if you prefer to use default full fake REST API.
```
npm run mock
```
Start application
```
npm start

View file

@ -42,7 +42,6 @@
"lint:fix": "eslint --ext .tsx,.ts src/ --fix",
"test": "react-scripts test",
"eject": "react-scripts eject",
"mock": "node ./mock/index.js",
"tsc": "tsc"
},
"husky": {