Skip to content

savinduamalka/agni-e-commerce-frontend

Repository files navigation

E-Commerce Frontend - Online Store

This is the frontend repository for the E-Commerce web application for an Online Store. Built using React, TypeScript, and Vite, this frontend provides a modern and responsive user interface for customers and administrators to interact with the online store.

🚀 Features

Customer Features

  • User Authentication: Register, login, and manage user accounts
  • Product Browsing: Browse and search through available products
  • Shopping Cart: Add products to cart and manage quantities
  • Order Management: Create orders with multiple products and track order status
  • Reviews & Ratings: Post reviews on products and view reviews from other customers
  • Address Management: Save multiple addresses for convenient checkout
  • Responsive Design: Optimized for desktop, tablet, and mobile devices

Admin Features

  • Product Management: Create, edit, and manage products with multiple images
  • User Management: Manage user accounts (block/unblock users)
  • Order Management: View all customer orders and update order statuses
  • Review Moderation: Manage product reviews and hide inappropriate content
  • Admin Dashboard: Access comprehensive analytics and management tools
  • Admin Account Creation: Create new admin accounts

🛠️ Tech Stack

  • Frontend Framework: React
  • Language: TypeScript

📋 Prerequisites

Before running this project, make sure you have the following installed:

  • Node.js
  • pnpm
  • Git

🚀 Getting Started

1. Clone the Repository

git clone https://github.com/savinduamalka/agni-e-commerce-frontend.git
cd agni-e-commerce-frontend

2. Install Dependencies

pnpm install

3. Environment Setup

Create a .env file in the root directory and add the following environment variables:

4. Start Development Server

pnpm run dev

The application will be available at http://localhost:5173

🔗 API Integration

This frontend connects to the E-Commerce Backend API. Make sure the backend server is running and accessible at the URL specified in your environment variables.

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages