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

https://github.com/techiediaries/vue-shopping-cart

A Vue Shopping Cart Application Demo
https://github.com/techiediaries/vue-shopping-cart

json-server shopping-cart vue vuejs2

Last synced: 12 months ago
JSON representation

A Vue Shopping Cart Application Demo

Awesome Lists containing this project

README

          

# Vue Shopping Cart & CRUD Example Application

The backend API is created/mocked with JSON-Server

> A Vue.js project

![](https://screenshotscdn.firefoxusercontent.com/images/8e02563a-8433-4b40-a300-7881c50fa771.png)

Once logged in. You can read, delete and update products

![](https://screenshotscdn.firefoxusercontent.com/images/aa849c82-cd34-4815-9099-7173a8ccd6dc.png)

You can create products

![](https://screenshotscdn.firefoxusercontent.com/images/d38389c9-be1b-41e0-af6b-1dbc7d61ed15.png)

## Build Setup

``` bash
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test
```

For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).