How danh0966708759-dev/congnghephanmem works
SHOP SÁCH 77 is a Vietnamese bookstore storefront with catalog discovery, shopping and checkout, account/order features, book borrowing, and admin product management. The React app also contains newsletter and editorial content. Its sampled state is persisted in browser localStorage; a separate Express API exposes product and login endpoints backed by MySQL. The two top-level project directories appear to be mirrored copies. The excerpts do not establish that the frontend calls the API, so that connection is omitted.
Main entry points: App.jsx Store app · main.jsx React entry · index.js Express API
Components 12
Storefront
- React entry
24CT1-DangThanhDanh/src/main.jsx - Store app
24CT1-DangThanhDanh/src/App.jsx - Book discovery
24CT1-DangThanhDanh/src/App.jsx - Cart and checkout
24CT1-DangThanhDanh/src/App.jsx - Accounts and orders
24CT1-DangThanhDanh/src/App.jsx - Book borrowing
24CT1-DangThanhDanh/src/App.jsx - News and newsletter
24CT1-DangThanhDanh/src/App.jsx
Shop operations
- Product administration
24CT1-DangThanhDanh/src/App.jsx - Express API
24CT1-DangThanhDanh/server/index.js
Persistence
- Browser storage
- MySQL database
Other components
- Shopper
Connections 12
- Shopper → React entry: opens storefront
- React entry → Store app: renders
- Shopper → Store app: uses catalog and shop
- Store app → Book discovery: supports search
- Store app → Cart and checkout: handles purchase
- Store app → Accounts and orders: handles account
- Store app → Book borrowing: handles borrowing
- Store app → News and newsletter: presents content
- Store app → Product administration: provides admin tools
- Store app → Browser storage: reads and writes
- Shopper → Express API: requests API
- Express API → MySQL database: queries and initializes