How juan-moresi/proyectofinal-moresi works
Project type and purpose
• From the file tree and README, Sneakers Shop is a full-stack e-commerce web app built in React (Frontend) that uses Firebase (Backend as a Service) for data storage and retrieval. It implements a product catalog, shopping cart with localStorage persistence, checkout form, and contact page.
File structure
• Top-level: index.html, package.json, vite.config.js → front-end scaffolding with Vite.
• src/main.jsx & src/index.css → app entry point and global styles.
• src/App.jsx → root React component.
• src/components/… → UI layer subdivided into page-level containers (e.g., ItemListContainer, ItemDetailContainer) and atomic/component widgets (NavBar, CartWidget, ItemCount, etc.).
• src/context/CartContext.jsx → Context API provider for global cart state.
• src/services/firebaseService.jsx → abstraction over Firebase SDK for product/category/order queries.
• src/assets → static images/fonts.
• Configuration files (eslint.config.js, .gitignore) and package-lock.json.
README for architecture clues
• Lists React 19, React Router 7, Context API, Firebase, CSS modules, Vite.
• Describes data flows: fetching all products, fetching by ID, filtering, categories.
• Cart persistence via localStorage.