logo
0
0
WeChat Login
Lautaro Rodriguez Collins<135086443+Lautaro-R-collins@users.noreply.github.com>
Update README.md

E-commer-Astro

E-commerce template built with Astro 5, React 19, and Tailwind CSS 4. Designed for speed, SEO, and specific aesthetic appeal, featuring a fully functional shopping cart, favorites system, blog, and more.

astroEcommers

✨ Features

  • ⚡ Blazing Fast: Built on top of Astro's next-gen island architecture.
  • 🎨 Modern Design: Styled with Tailwind CSS 4 and DaisyUI 5 for a premium look and feel.
  • 🛒 Shopping Cart: Fully functional cart with persistent state using Nanostores.
  • ❤️ Whishlist/Favorites: Save your favorite items with persistent local storage.
  • 📦 Product Catalog: Dynamic product listing with category filtering.
  • 📝 Blog Section: Integrated blog for content marketing and SEO.
  • 📱 Fully Responsive: Mobile-first design that looks great on all devices.
  • 🔍 Search: Instant product search functionality.
  • � Checkout UI: polished checkout page interface.
  • 🔔 Notifications: Toast notifications for user interactions (Sonner).
  • 🖼️ Carousels: Interactive product sliders using Swiper.

🛠️ Tech Stack

📂 Project Structure

/ ├── public/ # Static assets ├── src/ │ ├── assets/ # Optimized images and assets │ ├── components/ # Reusable UI components │ │ ├── cart/ # Cart related components │ │ ├── checkout/ # Checkout flow components │ │ ├── home/ # Homepage sections │ │ ├── navbar/ # Navigation bar │ │ ├── products/ # Product displays │ │ └── ui/ # Generic UI elements (buttons, inputs) │ ├── data/ # Mock data (products, static content) │ ├── layouts/ # Astro layouts (Base, etc.) │ ├── pages/ # File-based routing │ │ ├── category/ # Dynamic category pages │ │ ├── product/ # Dynamic product details │ │ └── ... # Other static pages (About, Contact) │ ├── store/ # Global state (Cart, Favorites) │ └── styles/ # Global styles └── astro.config.mjs # Astro configuration

🚀 Getting Started

  1. Clone the repository

    git clone https://github.com/yourusername/E-commer-Astro.git cd E-commer-Astro
  2. Install dependencies

    npm install
  3. Start the development server

    npm run dev
  4. Build for production

    npm run build

🧞 Commands

CommandAction
npm run devStarts local dev server at localhost:4321
npm run buildBuild your production site to ./dist/
npm run previewPreview your build locally, before deploying