Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sletheren/vuejs-products-management
A little project with VueJS, VueX and JSON-server for CRUD'ing products
https://github.com/sletheren/vuejs-products-management
Last synced: 6 days ago
JSON representation
A little project with VueJS, VueX and JSON-server for CRUD'ing products
- Host: GitHub
- URL: https://github.com/sletheren/vuejs-products-management
- Owner: Sletheren
- Created: 2020-07-05T18:06:22.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T05:41:37.000Z (almost 2 years ago)
- Last Synced: 2023-03-02T10:03:44.197Z (over 1 year ago)
- Language: Vue
- Size: 4.73 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CentralPoint Coding Challenge
Simple CRUD project made with VueJS.
## Configuration
The main configuration of this mini-application resides inside `/src/config`
This serves as a way to pick which data to show in the DataTable, how to Seed the DB by parsing the json data that lives in `/api/products.js` and set the basis of what to show in the Forms as well
**Columns** is what's used in the configuration file to boot-up the app.
Columns is an array of Objects with this shape:```json
[
{
"key": "id",
"title": "Product ID",
"type": "text",
"mapping": "@id"
}
]
```### To run both the API and App
This will run both the API and the APP using a package called concurently
```
yarn start
```To run the Client alone:
```
yarn run:client
```To run the API alone:
```
yarn run:api
```### Run your tests
```
yarn test
```### Lints and fixes files
```
yarn lint
```