$ cd ecommerce-vue/server
$ npm install
$ npm start
Route |
Http |
Descriptin |
/items |
GET |
Get all the books |
/items/:id |
GET |
Get one books |
/items |
POST |
Create / Add a Book |
/items/:id |
DELETE |
Delete a Book |
/items |
PUT |
Update a Book |
Route |
Http |
Descriptin |
/customers |
GET |
Get all the customers |
/customers/:id |
GET |
Get one customer |
/customers |
POST |
Create / Add a customer |
/customers/:id |
DELETE |
Delete a customer |
/customers |
PUT |
Update a customer |
Route |
Http |
Descriptin |
/carts |
GET |
Get all the transaksi |
/carts/:id |
GET |
Get one transaksi |
/carts |
POST |
Create / Add a transaksi |
/carts/:id |
DELETE |
Delete a transaksi |
/carts |
PUT |
Update a transaksi |
$ cd ecommerce-vue/client
$ live-server