Skip to content

Latest commit

 

History

History
83 lines (60 loc) · 1.58 KB

README.md

File metadata and controls

83 lines (60 loc) · 1.58 KB

48shop E-Commerce Platform

Installation

ไม่ต้องใช้ ตัวติดตั้งใดๆ เพราะเราทำการ deploy ไปไว้อยู่บน ibm bluemix เป็นที่เรียบร้อย
สามารถมาดูตัวหน้าเว็บไซต์ E-commerce ได้ที่ https://48shop.mybluemix.net/

Dependency

1. jpa
2. web
3. devtools
4. mysql
5. Vuejs
6. VueX
7. Vue Rounter 
8. Axios
9. Vuetify

API Design

Address

GET /addresses

Return list of all addresses in database

GET /address/{id}

Return address specific by address id

POST /address

Use to create new address

DELETE /address/{id}

Use to delete address

Order

GET /orders

Return list of all order

GET /order/{id}

Use to get order from specific id

POST /order

Use to order a product

DELETE /order/{id}

Use to delete order by specific id

Product

GET /products

Return list of all products

GET /product/{id}

Use to get product with specific id

POST /product

Use to add product to database

DELETE /product/{id}

Use to delete product from database

GET /product?category=id

Use to get products by category id

Product Category

GET /category/{category_id}

Use to get category by id

PUT /category/{category_id}

Use to update ProductCategory name

User Profile

GET /profiles

Use to get List all users

GET /profile/{id}

Use to get User by id

POST /profile

Use to create a User

DELETE /profile/{id}

Use to delete a User by id