How carolina05m/pet-care-projeto works
PetCare is a React pet-shop storefront and management portal. Visitors browse the site, products, and services; customers can create accounts, place products in a local cart with delivery details, and submit service appointments, then view or cancel appointments. Administrators manage products, services, and appointments. The graph follows the router and sampled Supabase calls; the README documents additional catalog and panel capabilities, but unsampled implementations are represented only at their known page paths.
Main entry points: routes.jsx Page router · supabaseClient.js Supabase client · Header/index.jsx Navigation header · Footer/index.jsx Site footer
Components 15
Application and routing
- Application shell
src/App.jsx - Page router
src/routes.jsx - Navigation header
src/components/Header/index.jsx - Site footer
src/components/Footer/index.jsx
Storefront pages
- Home page
src/pages/Home/index.jsx - About page
src/pages/Sobre/index.jsx - Contact page
src/pages/Contato/index.jsx - Product catalog and cart
src/pages/Produtos/index.jsx - Services and booking
src/pages/Servicos/index.jsx
Customer account
- Sign-in and registration
src/pages/Entrar/index.jsx - Customer appointments
src/pages/Clientes/index.jsx
Data and administration
- Administration panel
src/pages/Administrador/index.jsx - Supabase client
src/services/supabaseClient.js
Other components
- Visitor or customer
- Supabase backend
Connections 40
- Visitor or customer → Application shell: opens
- Application shell → Page router: renders
src/App.jsx - Page router → Home page: routes to
src/routes.jsx - Page router → About page: routes to
src/routes.jsx - Page router → Contact page: routes to
src/routes.jsx - Page router → Product catalog and cart: routes to
src/routes.jsx - Page router → Services and booking: routes to
src/routes.jsx - Page router → Sign-in and registration: routes to
src/routes.jsx - Page router → Customer appointments: routes to
src/routes.jsx - Page router → Administration panel: routes to
src/routes.jsx - Home page → Navigation header: renders
src/pages/Home/index.jsx - Home page → Site footer: renders
src/pages/Home/index.jsx - About page → Navigation header: renders
src/pages/Sobre/index.jsx - About page → Site footer: renders
src/pages/Sobre/index.jsx - Contact page → Navigation header: renders
src/pages/Contato/index.jsx - Contact page → Site footer: renders
src/pages/Contato/index.jsx - Product catalog and cart → Navigation header: renders
src/pages/Produtos/index.jsx - Product catalog and cart → Site footer: renders
src/pages/Produtos/index.jsx - Services and booking → Navigation header: renders
src/pages/Servicos/index.jsx - Services and booking → Site footer: renders
src/pages/Servicos/index.jsx - Sign-in and registration → Navigation header: renders
src/pages/Entrar/index.jsx - Sign-in and registration → Site footer: renders
src/pages/Entrar/index.jsx - Customer appointments → Navigation header: renders
src/pages/Clientes/index.jsx - Customer appointments → Site footer: renders
src/pages/Clientes/index.jsx - Visitor or customer → Page router: navigates
src/routes.jsx - Application shell → Supabase client: checks session
src/App.jsx - Navigation header → Supabase client: checks auth
src/components/Header/index.jsx - Sign-in and registration → Supabase client: authenticates
src/pages/Entrar/index.jsx - Product catalog and cart → Supabase client: loads catalog
README.md - Services and booking → Supabase client: loads services
README.md - Services and booking → Supabase client: inserts appointment
src/pages/Servicos/index.jsx - Customer appointments → Supabase client: reads appointments
src/pages/Clientes/index.jsx - Customer appointments → Supabase client: deletes appointment
src/pages/Clientes/index.jsx - Administration panel → Supabase client: manages records
src/pages/Administrador/index.jsx - Supabase client → Supabase backend: connects to
src/services/supabaseClient.js - Visitor or customer → Product catalog and cart: browses and shops
README.md - Visitor or customer → Services and booking: books care
README.md - Visitor or customer → Sign-in and registration: signs in
- Visitor or customer → Customer appointments: views bookings
- Visitor or customer → Administration panel: manages shop
README.md