Skip to content

Frontend interface for the Price Optimization Tool — built with React, TypeScript, and Vite. Features a clean, responsive UI for managing products, viewing demand forecasts, and exploring optimized pricing insights.

Notifications You must be signed in to change notification settings

shahsad-kp/price-optimization-tool-frontend

Repository files navigation

🏷️ Price Optimization Tool – Frontend

This is the frontend interface for the Price Optimization Tool, designed for business users to manage products, visualize demand forecasts, and receive optimized pricing recommendations.

Built with React (TypeScript) and Vite, the frontend offers a responsive, data-driven UI for interacting with the Django REST API backend.

For the backend part of this project, see the Price Optimization Tool Backend.


🚀 Features

  • Product Management

    • Add, view, edit, and delete products.
    • Filter and search products by name, category, etc.
  • Demand Forecast Visualization

    • View forecasted demand vs selling price using interactive charts.
    • Visualized via Chart.js or Recharts.
  • Pricing Optimization

    • Display optimized product prices in a tabular format.
    • Fetch optimized data directly from backend API.
  • Clean & Responsive UI

    • Fully responsive layout using Tailwind CSS.
    • UI based on Figma-inspired mockups from assessment.

🧰 Tech Stack

  • Frontend Framework: React + TypeScript + Vite
  • UI Styling: Tailwind CSS
  • State Management: React Query / Context API
  • Charting: Chart.js or Recharts
  • API Communication: Axios (REST API)
  • Routing: React Router DOM

⚙️ How to Run

1️⃣ Clone Repository

git clone https://github.com/yourusername/price-optimization-tool.git
cd price-optimization-tool/frontend

2️⃣ Install Dependencies

npm install

3️⃣ Configure Environment

Create a .env file in the frontend root directory:

VITE_API_BASE_URL=http://127.0.0.1:8000/api/v1/

4️⃣ Run Development Server

npm run dev

Access the app at http://localhost:5173/.

5️⃣ Build for Production

npm run build

The production-ready files will be in the dist folder.

About

Frontend interface for the Price Optimization Tool — built with React, TypeScript, and Vite. Features a clean, responsive UI for managing products, viewing demand forecasts, and exploring optimized pricing insights.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages