How ramtnv/dynamichomewebsite works
Atelier & Co. is a configurable storefront with a React customer experience and protected admin, backed by an Express API and SQLite. The customer path runs from browsing and filtering products through cart and checkout preference selection to an order confirmation and downloadable PDF; payment itself is not processed. Admins manage site content, themes, products, and publication, while customers can submit contact messages. The graph uses the supplied excerpts and README; some server routes and frontend page details are documented but not excerpted, so those links are cited to the README.
Main entry points: api.ts API client · App.tsx App and routes · PublicPages.tsx Public pages · index.ts Express API
Components 12
Public storefront
- App and routes
src/App.tsx - Public pages
src/PublicPages.tsx - Contact messages
src/PublicPages.tsx
Shopping and orders
- Cart state
src/CartContext.tsx - Checkout and orders
src/PublicPages.tsx
Administration
- Admin dashboard
src/Admin.tsx
API and persistence
- API client
src/api.ts - Express API
server/index.ts - Site configuration
server/defaults.ts - SQLite data
server/db.ts - Image uploads
server/index.ts
Other components
- Customer
Connections 18
- Customer → App and routes: opens site
README.md - App and routes → Public pages: routes to
src/App.tsx - App and routes → Admin dashboard: routes to
src/App.tsx - App and routes → API client: loads site
src/App.tsx - App and routes → Cart state: provides cart
src/App.tsx - Public pages → API client: loads products
README.md - Public pages → Cart state: updates cart
README.md - Public pages → Checkout and orders: routes checkout
README.md - Public pages → Contact messages: renders form
README.md - Checkout and orders → API client: submits order
README.md - Contact messages → API client: sends message
src/api.ts - Admin dashboard → API client: manages content
src/Admin.tsx - Admin dashboard → API client: uploads images
README.md - API client → Express API: calls API
README.md - Express API → SQLite data: reads and writes
server/index.ts - Express API → Site configuration: serves settings
server/index.ts - SQLite data → Site configuration: seeds defaults
server/db.ts - Express API → Image uploads: stores images
README.md