A full-stack dashboard for visualizing sales data, exploring trends, and monitoring KPIs.
This repository contains a frontend (Vite + modern JS/TS stack) and a Python backend API. The app provides interactive charts, tables, and filters to analyze sales performance.
- Frontend: Vite, TailwindCSS (see
frontend/) - Backend: Python (FastAPI/Flask) in
backend/
Sales_Data_Analytics_Dashboard/
├── frontend/ # Vite-based frontend
├── backend/ # Python backend API
└── instructions.md
Prerequisites:
- Node.js 18+
- Python 3.10+
cd frontend
npm install
npm run dev
# Visit http://localhost:5173 (default Vite port) or as configured
Build:
npm run build
npm run preview
cd backend
python -m venv .venv
source .venv/bin/activate # macOS/Linux
# .venv\Scripts\activate # Windows PowerShell
pip install -r requirements.txt
# Start the API (example)
python -m app
# or uvicorn if using FastAPI:
# uvicorn app.main:app --reload --port 8000
- Check any
.envor configuration files underbackend/appandfrontend/. - Ensure data sources and API endpoints are aligned between frontend and backend.
- Frontend:
npm run test(if configured) - Backend:
pytestorpython -m pytest(if test suite is present)
- Frontend: build static assets with
npm run buildand serve via a static host - Backend: package and run under Gunicorn/Uvicorn or containerize
PRs are welcome. Please follow code style conventions and include tests where practical.
Refer to the repository license if present; otherwise consult maintainers before redistribution.