Add fruit-api

This commit is contained in:
2020-12-03 19:04:21 +01:00
parent 36bf9b477d
commit 71bf192289
3 changed files with 622 additions and 27 deletions

View File

@@ -57,8 +57,8 @@ The API is using the ESM module loader so please make sure that you have at leas
``` ```
npm i fruit-api npm i fruit-api
``` ```
- [ ] Add `"api": "fruit-api"` to the scripts section of your package.json file. - [x] Add `"api": "fruit-api"` to the scripts section of your package.json file.
- [ ] Run `npm run api` to serve the fruit-api you can view the API documentation at https://localhost:3000 (or another port number, if 3000 is already in use). - [x] Run `npm run api` to serve the fruit-api you can view the API documentation at https://localhost:3000 (or another port number, if 3000 is already in use).
**Recommended documentation** **Recommended documentation**
| Scaffolding | State Management | Routing | | Scaffolding | State Management | Routing |

View File

@@ -7,10 +7,12 @@
"build": "vue-cli-service build", "build": "vue-cli-service build",
"test:unit": "vue-cli-service test:unit", "test:unit": "vue-cli-service test:unit",
"test:e2e": "vue-cli-service test:e2e", "test:e2e": "vue-cli-service test:e2e",
"lint": "vue-cli-service lint" "lint": "vue-cli-service lint",
"api": "fruit-api"
}, },
"dependencies": { "dependencies": {
"core-js": "^3.6.5", "core-js": "^3.6.5",
"fruit-api": "^1.1.3",
"vue": "^2.6.11", "vue": "^2.6.11",
"vue-router": "^3.2.0", "vue-router": "^3.2.0",
"vuex": "^3.4.0" "vuex": "^3.4.0"

641
yarn.lock

File diff suppressed because it is too large Load Diff