The front-end exercise based on Nuxt.js is the front-end project of Vue + Vue CLI.
V-MARKET 2.0: https://ouiis.github.io/vmarket_2.0/
Add items to the shopping cart:
Shopping cart page:
Checkout page ( not yet paid ):
Checkout page ( complete payment ):
Commodity management:
New products:
Edit product:
Delete product:
Order management:
New coupon:
API file: https://github.com/hexschool/vue-course-api-wiki/wiki
POST
/admin/signin
POST
/logout
POST
/api/user/check
POST
/admin/product
GET
/admin/products?page=:page
GET
/admin/products/all
PUT
/admin/product/:id
DELETE
/admin/product/:product_id
POST
/admin/upload
GET
/admin/orders?page=:page
POST
/admin/coupon
GET
/admin/coupons?page=:page
PUT
/admin/coupon/:id
DELETE
/admin/coupon/:coupon_id
GET
/products?page=:page
GET
products/all
GET
/product/:id
POST
/cart
DELETE
/cart/:id
GET
/cart
POST
/coupon
POST
/order
GET
/order/:order_id
POST
/pay/:order_id
Author: ouiis
Demo: https://ouiis.github.io/vmarket_2.0/
Source Code: https://github.com/ouiis/vmarket_2.0
#vuejs #vue #javascript #nuxtjs