SalesIQ is a real-time sales analytics and ML forecasting dashboard built with Python and Streamlit. It auto-seeds a SQLite database with over 5,000 sales records, 500 customers and 50 products, then turns that data into live business insights. Key features include a real-time KPI dashboard, revenue forecasting with Random Forest, Gradient Boosting and Ridge Regression, RFM plus KMeans customer segmentation, a cosine-similarity product recommendation engine, inventory and demand prediction, automated KPI alerts, and bcrypt-secured role-based login. Ideal for BCA, MCA, B.Tech and MBA IT final year students. Includes source code, report, synopsis and PPT.
The Real-Time Sales Analytics & ML Forecasting Dashboard (SalesIQ) is a complete, deployable Python web application built with Streamlit, not a notebook or a demo. On first launch it automatically creates a local SQLite database and seeds it with over 5,000 realistic sales records, 500 customers, 50 products across 8 categories, and two years of transaction history. It ships with a bcrypt-secured login system supporting Admin and Manager roles, a dark-themed dashboard, and six fully built feature modules powered by real machine learning models. The whole project runs offline on any laptop in about five minutes.
| Component | Technology |
| Web UI | Streamlit 1.58 |
| Database | SQLite (8 tables) |
| Machine Learning | scikit-learn (Random Forest, Gradient Boosting, Ridge, KMeans, PCA) |
| Data Processing | pandas, numpy |
| Charts | Plotly |
| Authentication | bcrypt password hashing |
| Data Generation | Faker |
| Language | Python 3.9 to 3.13 |
On the first run the setup script creates all eight SQLite tables and seeds them with two years of synthetic sales history generated by Faker and NumPy, a process that takes only a few seconds. A user logs in through the bcrypt-backed authentication gate, and Streamlit routes them to the dashboard modules their role allows. Each module pulls live data from SQLite, trains or applies its machine learning model, and renders the result as an interactive Plotly chart. The alerts module runs threshold checks against current KPIs and writes any new critical or warning alerts back to the database with timestamps.
This project fits BCA, MCA, B.Tech CSE, B.Tech IT, B.Sc Data Science, and MBA IT students who need a final year project that goes well beyond a single notebook. It covers databases, machine learning, web development, authentication, and business analytics in one codebase, making it strong material for viva questions and project defence. It also works as a portfolio and interview project for job seekers who want to show recruiters production-quality work rather than a Jupyter file.
The project can be extended with deployment to Streamlit Community Cloud, integration with a live sales API or a MySQL/PostgreSQL backend, deep learning models such as LSTM or Prophet for time-series forecasting, email and WhatsApp alert notifications, exportable PDF and Excel reports, multi-store or multi-branch support, and a customer churn prediction module.
Watch the full project walkthrough and setup tutorial on our YouTube channel.
▶ Watch on YouTube – Decode It
For complete project details, source code, and setup guide, visit the official project page.
1. Download and extract the ZIP file 2. Open a terminal inside the project folder 3. Create a virtual environment: python -m venv venv Windows: venv\Scripts\activate macOS / Linux: source venv/bin/activate 4. Install libraries: pip install --prefer-binary streamlit pandas numpy scikit-learn plotly faker bcrypt python-dateutil 5. Run the app: streamlit run app.py 6. Open the localhost URL shown in the terminal 7. Login with the default credentials: Admin - username: admin / password: admin123 Manager - username: manager / password: manager123 Note: On first run the app seeds the SQLite database automatically. This takes about 5-10 seconds and happens only once.
FAQ for this project coming soon.
No reviews yet. Be the first to review!