Skip to content

Digitalization of "El Gavilán", enhancing its online presence while preserving its local heritage.

License

Notifications You must be signed in to change notification settings

dracudev/gavilan-shop

Repository files navigation

El Gavilán | Ecommerce

El Gavilán

Table of contents

Description

El Gavilán is a traditional hat shop based in Alicante, established in 1970. This digital platform aims to enhance the shop's online presence and sales by offering a seamless shopping experience. Built with Next.js, React, TypeScript, and Tailwind CSS, it ensures a modern and efficient interface for customers to browse, filter, and purchase products.

Features

  • 🍭 Product Listings: Browse a variety of hats for men, women, and children.
  • 🛒 Shopping Cart & Checkout: Secure and smooth checkout process with Stripe integration.
  • 👤 User Authentication: Secure login & signup system with Supabase.
  • 🎨 Dark Mode: Toggle between light and dark themes.
  • 🛠 Admin Dashboard: Manage products, orders, and users.
  • 🍿 Product Carousels: Enhanced product visuals using Swiper.

Tech Stack

  • Framework: Next.js (15.1.7)
  • UI Library: React (19.0.0)
  • Styling: Tailwind CSS
  • State Management: Zustand
  • Authentication: Supabase
  • Payment Processing: Stripe
  • Icons: React Icons
  • Image Carousels: Swiper

Installation

Prerequisites

  • Node.js (v16+ recommended)
  • npm or yarn

Steps

  1. Clone the repository:
    git clone https://github.com/dracudev/gavilan-shop.git
    cd gavilan-shop
  2. Install dependencies:
    npm install
    # or
    yarn install
  3. Set up environment variables. Create a .env.local file and add the necessary variables for Supabase and Stripe.
  4. Start the development server:
    npm run dev
    # or
    yarn dev
  5. Open http://localhost:3000 in your browser.

Usage

  • Browse products and use filters to find items.
  • Add products to the cart and proceed to checkout.
  • Manage user accounts and orders.
  • Admins can add, update, or remove products through the dashboard.

Testing

Automated tests are implemented using Jest and React Testing Library.

To run the tests, use the following command:

npm test
# or
yarn test

Future Improvements

  • Implement end-to-end testing with Cypress and Playwright.
  • Enhance accessibility features (aria-labels).
  • Introduce AI-powered assistant (Chatbot IA).
  • Enable user reviews and ratings.
  • Expand product categories and filtering options.
  • Add more advanced analytics for admin insights.
  • Optimize performance for better mobile experiences.
  • Implement i18n translation with DeepL API.
  • Add OAuth for authentication.
  • Add Zod validations for forms and login.
  • Implement confirmation modals and toast notifications.

Deployment

The project is ready for deployment and accesible on: Live Demo


For any inquiries, reach out at [email protected].

This project is licensed under the MIT License.

About

Digitalization of "El Gavilán", enhancing its online presence while preserving its local heritage.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published