How luc7o/anita-new-2026 works
Anita New Style is a fashion-commerce application: shoppers browse products, manage a cart, check out, pay, and track orders; staff manage commerce and store operations through a separate admin experience. The map highlights that customer workflow, authentication, and the major documented admin capabilities. The README and sampled files establish the frontend entry points, API client, backend routes, and payment integration; unsampled route and page internals are represented at their existing directory paths, without asserting unverified calls.
Main entry points: client.js API client · pedidos.py Order lifecycle · models Commerce data · App.jsx Store app
Components 18
Customer storefront
- Store app
frontend/src/App.jsx - Checkout
frontend/src/pages/Checkout.jsx - Cart state
frontend/src/context/CarritoContext.jsx - API client
frontend/src/api/client.js
Identity and consent
- Session state
frontend/src/context/AuthContext.jsx - Authentication
backend/app/routes/auth.py
Commerce backend
- Product catalog
backend/app/routes/productos.py - Cart endpoints
backend/app/routes/carrito.py - Order lifecycle
backend/app/routes/pedidos.py - Culqi payments
backend/app/utils/culqi.py - Stock management
backend/app/utils/stock.py - Commerce data
backend/app/models
Store operations
- Admin interface
frontend/src/AdminApp.jsx - Admin workflows
frontend/src/pages/admin - Admin API
backend/app/routes - Reports and KPIs
backend/app/routes/admin_reportes.py
Other components
- Shopper
- Culqi
Connections 19
- Shopper → Store app: uses
- Store app → Checkout: routes to
frontend/src/App.jsx - Store app → Cart state: provides state
frontend/src/main.jsx - Checkout → API client: requests checkout
- Cart state → API client: requests cart
frontend/src/context/CarritoContext.jsx - API client → Order lifecycle: submits payment
README.md - API client → Product catalog: requests catalog
- API client → Cart endpoints: requests cart
- Session state → API client: calls API
frontend/src/context/AuthContext.jsx - API client → Authentication: refreshes session
README.md - Order lifecycle → Culqi payments: charges through
backend/app/routes/pedidos.py - Culqi payments → Culqi: creates charge
README.md - Order lifecycle → Stock management: updates stock
backend/app/routes/pedidos.py - Order lifecycle → Commerce data: reads and writes
backend/app/routes/pedidos.py - Authentication → Commerce data: reads and writes
backend/app/routes/auth.py - Admin interface → Admin workflows: hosts workflows
- Admin workflows → API client: uses API
- Admin API → Commerce data: reads and writes
backend/app/routes/auth.py - Reports and KPIs → Commerce data: reports on