Files
internship_node/day13/README.md
T

15 lines
571 B
Markdown
Raw Normal View History

2022-02-06 22:17:54 -05:00
# day 1
## Instructions
- setup project
- clone to your github
- Use this library https://github.com/stripe/stripe-php
- Use bootstrap 4 for ui
```
/ => show products from db table products (id, title, description, image, price)
/product/:id => show product detail with image of product and title and description. Have a button buy now that open a modal for stripe checkout. Once checkout done, write into order table(id, product_id, total, stripe_id, status(paid, failed)). Show thank you page of purchase showing a table of product title, price, payment method
```