What are the parts of an online store?
How should you model products, variants and prices?
Sql
How do the cart, checkout and payments work safely?
Ts
How do orders and inventory stay correct?
Sql
What do shipping, tax, accounts and emails involve?
How do you make product pages fast and findable?
Ts
What security basics does a store need?
- Escape output to prevent XSS, especially product descriptions, reviews and anything vendors can type.
- Protect state-changing requests from CSRF (SameSite cookies plus tokens or origin checks), and exempt the webhook route, which authenticates with its signature instead.
- Rate limit login, password reset, coupon entry and checkout creation.
- Keep secrets in environment variables, separate for test and live, and rotate them after a suspected leak.
- Validate every input on the server, including quantities (no negatives, no huge numbers).
How do you test, monitor and handle errors?
What goes on a launch checklist?
Text