Skip to content

About

Full-stack AI-powered e-commerce platform using React.js, Node.js, Express.js, PostgreSQL, Redux Toolkit, Tailwind CSS, Stripe, Cloudinary, and Gemini AI with features like AI product search, secure payments, authentication, cart management, order processing, and responsive UI.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

🚀 OWNCARTX Client

A modern and responsive e-commerce frontend built using React.js, Redux Toolkit, Tailwind CSS, Stripe, and AI-powered product search.


🚀 Overview

OwnCartX is the frontend application of a full-stack e-commerce platform.

It provides a responsive shopping experience with product discovery, category filtering, search, authentication, cart management, checkout, orders, reviews, and AI-assisted product search.

The frontend communicates with a REST API built with Node.js, Express.js, and PostgreSQL.


🚀 Live Demo

🔗 Live Demo: https://owncartx.vercel.app


📂 GitHub Repository

📦 Client Repo: https://github.com/KrGuddu/ownCartX-client
📦 Server Repo: https://github.com/KrGuddu/ownCartX-backend
📦 Admin Repo: https://github.com/KrGuddu/ownCartX-admin ==> comming soon

[The admin dashboard is planned as a separate application.]


✨ Features

🛍️ E-Commerce Features

  • Product Listing
  • Product Details Page
  • Product Search
  • Category Filtering
  • Pagination
  • AI Product Search
  • Shopping Cart
  • Checkout System
  • Order Management (History, Details)
  • Product reviews and ratings

🔐 Authentication

  • User Registration
  • User Login
  • Protected Routes
  • Forgot Password
  • Reset Password
  • Authentication state management

💳 Payments

  • Stripe Payment Integration
  • Secure Checkout Flow
  • Payment status handling

🎨 UI/UX Features

  • Fully Responsive Design
  • Dark/Light Theme
  • Modern & Reusable UI Components
  • Smooth Navigation
  • Sidebar Navigation
  • Search Overlay
  • Product Sliders & Hero Sections
  • Loading and interaction states

⭐ Product Reviews & Ratings

  • Add Reviews
  • Ratings System
  • Review Display
  • Review listing
  • User review interactions

🤖 AI-Powered Search

OwnCartX integrates Google Gemini to provide AI-assisted product search.

The feature is designed to allow users to search for products using more natural queries instead of relying only on traditional keyword-based search.


🛠️ Tech Stack

Category Technology
Frontend React.js
Build Tool Vite
State Management Redux Toolkit
Styling Tailwind CSS, CSS3
Routing React Router DOM
API Handling Axios
Payments Stripe
AI Integration Google Gemini API
Deployment Vercel

🏗️ Frontend Architecture

The application follows a component-based architecture with separate responsibilities for pages, reusable components, application state, contexts, and supporting utilities.

React Application
│
├── Pages
│   ├── Home
│   ├── Products
│   ├── Product Details
│   ├── Cart
│   ├── Checkout
│   ├── Orders
│   └── Authentication
│
├── Reusable Components
│
├── Redux Store
│   └── Application State
│
├── Contexts
│
├── API Layer
│   └── Axios
│
└── External Services
    ├── Backend REST API
    ├── Stripe
    └── Gemini AI

📁 Project Structure

OWNCARTX/
│
├── client/
│   ├── public/
│   │
│   ├── src/
│   │   ├── assets/
│   │   ├── components/
│   │   ├── contexts/
│   │   ├── data/
│   │   ├── lib/
│   │   ├── pages/
│   │   ├── store/
│   │   ├── App.jsx
│   │   └── main.jsx
│   │
│   ├── .env
│   ├── package.json
│   ├── vite.config.js
│   └── README.md
│   
├── backend/
├── admin/         ==>  comming soon

🚀 Installation

# Clone Repository
git clone https://github.com/KrGuddu/ownCartX-client.git

# Navigate to the project
cd ownCartX-client

# Install dependencies
npm install

# Configure environment variables
Create a .env file in the project root.

VITE_API_URL=your_backend_api_url

VITE_STRIPE_FRONTEND_KEY=your_stripe_publishable_key

# Run development server
npm run dev

🌍 Environment Variables

Create a .env file in client root directory:

VITE_API_URL=your_backend_api_url

VITE_STRIPE_FRONTEND_KEY=your_stripe_publishable_key

🔗 Application Flow

User
 │
 ▼
React UI
 │
 ├── Redux Toolkit
 │
 ├── Axios
 │
 ▼
Backend REST API
 │
 ├── Authentication
 ├── Products
 ├── Cart
 ├── Orders
 └── Reviews

External integrations:

React Client
 │
 ├── Stripe
 └── Gemini AI

📌 Key Engineering Areas

The project demonstrates practical experience with:

  • Component-based React development
  • Global state management using Redux Toolkit
  • REST API integration
  • Protected routes
  • Authentication state handling
  • Responsive UI development
  • Payment integration
  • Third-party API integration
  • AI-assisted product search
  • Reusable frontend components

🚧 Planned Improvements

The following improvements can be added as the project evolves:

  • Automated frontend testing
  • Improved accessibility
  • Performance monitoring
  • CI/CD workflow
  • Expanded admin dashboard
  • More comprehensive API documentation

👨‍💻 Author

Mr. Guddu Kumar
Software Developer

🌐 Portfolio: https://krguddu.netlify.app

🐙 GitHub: https://github.com/KrGuddu


⭐ Support

If you find this project useful, consider giving the repository a ⭐ on GitHub.

About

Full-stack AI-powered e-commerce platform using React.js, Node.js, Express.js, PostgreSQL, Redux Toolkit, Tailwind CSS, Stripe, Cloudinary, and Gemini AI with features like AI product search, secure payments, authentication, cart management, order processing, and responsive UI.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages