GitHunt
MD

MDF05/Frontend-WaysBeans

Modern and responsive e-commerce web interface built with React, Vite, and Chakra UI for an optimal user experience.

WaysBean Frontend Client

Modern Coffee E-commerce Interface

The WaysBean Frontend is a polished, responsive web application built to provide an exceptional user experience for coffee lovers. It connects seamlessly with the WaysBean Backend API.

Frontend Overview

  • Platform: Web (Single Page Application)
  • Framework: React.js (Vite)
  • Styling: Chakra UI & TailwindCSS
  • State: Redux Toolkit

Features

  • โœจ Modern UI: Clean, responsive design using Chakra UI.
  • ๐Ÿ“ฑ Mobile First: Optimized for all device sizes.
  • ๐Ÿš€ Fast Performance: Powered by Vite and optimized assets.
  • ๐Ÿ›’ Dynamic Cart: Real-time state management for shopping cart.
  • ๐ŸŽจ Animations: Smooth transitions with Framer Motion.
  • ๐Ÿ”” Live Updates: Real-time order status via Socket.io.

Tech Stack

Installation

  1. Navigate to the frontend directory

    cd Frontend-WaysBeans
  2. Install Dependencies

    npm install
  3. Environment Setup
    Create a .env file and configure the backend URL.
    See ENVIRONMENT.md.

    VITE_API_BASE_URL="http://localhost:5000/api/v1"

Development Workflow

Start the development server with HMR (Hot Module Replacement):

npm run dev

Open http://localhost:5173 to view it in the browser.

Build & Deployment

To create a production build:

npm run build

See DEPLOYMENT.md for detailed hosting instructions (Vercel, Netlify, etc.).

๐Ÿ“š Documentation

The frontend documentation is organized as follows:

Technical Docs

Operational Docs

Contribution Guide

  1. Fork the repo.
  2. Create a feature branch (feat/new-ui-component).
  3. Commit changes.
  4. Push to branch.
  5. Open a Pull Request.

Please Lint your code before committing:

npm run lint

Author

  • WaysBean Team
  • Contact: frontend@waysbean.com

Built with React & Passion โš›๏ธ