https://github.com/phuc-create/mini-shop-intern-pratice
https://github.com/phuc-create/mini-shop-intern-pratice
context-api miniprogram react
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/phuc-create/mini-shop-intern-pratice
- Owner: phuc-create
- Created: 2022-07-11T02:25:50.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-25T06:44:07.000Z (almost 4 years ago)
- Last Synced: 2026-04-29T05:36:47.586Z (about 2 months ago)
- Topics: context-api, miniprogram, react
- Language: JavaScript
- Homepage:
- Size: 261 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## hello world
- list product in store
- add product
- add to cart
- check out
# Product include
- id (format: date-time now + (math.random() + "").slice(5,9))
- name
- price
- quantity
# Cart include
- idCart (format: date-time now + (math.random() + "").slice(5,9))
- details {
product {
- id (format: date-time now + (math.random() + "").slice(5,9))
- name
- price
- quantity
}
}
# Checkout -> Order include
- idOrder (format: date-time now + (math.random() + "").slice(5,9))
- product {
- id (format: date-time now + (math.random() + "").slice(5,9))
- name
- price
- quantity
}
- totalPrice
- createdAt