Source Code Only
Full ZIP with frontend, backend, database & documentation.
- Complete project source files
- Database script included
- How-to-run guide
No live demo yet — message us for access
Our team shares demo access on WhatsApp within minutes
Complete final-year project source code with frontend, backend, database, and setup guide. Instant download after secure payment.
Choose your plan
Full ZIP with frontend, backend, database & documentation.
We install & configure the project on your laptop within 24 hours.
Review features, setup steps, and credentials before you pay.
Description, tech stack, and what is included
Sales Trend and Forecasting Using ML in MERN Stack is a full-stack sales analytics and machine learning platform designed for businesses to upload sales/customer data, run predictive models, visualize sales trends, forecast future sales, segment customers, optimize marketing campaigns, and manage subscription-based ML access through separate User and Admin portals. The system uses a React frontend, Express backend, MongoDB database, and Python machine learning scripts invoked through python-shell.
The platform includes user authentication, CSV upload, data preview, sample file download, sales forecasting, market basket analysis, RFM segmentation, customer lifetime value prediction, churn analysis, response modeling, uplift modeling, charts, confusion matrices, forecast graphs, result tables, subscription plans, dummy checkout, and admin management for users, plans, ML actions, packages, customers, admins, and revenue.
This project is suitable for B.Tech, M.Tech, BCA, MCA, BE, ME, BSc, and MSc students who need a practical final year project, major project, or minor project based on sales forecasting, machine learning, business analytics, customer segmentation, marketing analytics, MERN stack development, Python ML integration, CSV data processing, MongoDB database design, and admin dashboard functionality. FileMakr can provide this project with source code, project report, documentation, and setup support for academic submission.
Modules and controls available to administrators
The admin portal includes dashboard, manage plans, manage ML actions, manage packages, manage customers, revenue, all admins, add admin, admin profile, admin password update, and admin password reset modules
What end users can do in this application
.csv file onlyThe user portal includes landing page, login, signup, reset password, user guide, dashboard, user panel, profile, change password, upload sales data, preview data, and plans/billing modules.
Additional capabilities included in the project
mlxtendThe project provides seven ML modules across plan tiers: sales forecasting, market basket analysis, RFM segmentation, LTV prediction, churn analysis, response modeling, and uplift modeling.
| Plan | Price | ML Modules Included |
|---|---|---|
| Free | ₹0 | Sales Forecasting |
| Standard | ₹999/month | Sales Forecasting, Market Basket Analysis, RFM Segmentation, Customer LTV |
| Premium | ₹1,999/month | All Standard modules plus Churn Analysis, Response Modeling, Uplift Modeling |
Plans and ML action mappings are seeded into MongoDB and can be modified from the Admin Panel.
python-shellThe system architecture shows React client, Express API, Python ML scripts, and MongoDB working together, with uploaded CSV files stored under public/ and ML output files saved under excel_files/{userId}/.
| Layer | Technology |
|---|---|
| Frontend | React 16, React Router 5 |
| UI / Styling | Bootstrap 4, Material-UI 4, Custom CSS, CSS Modules |
| Charts | Chart.js, React-Chartjs-2 |
| Alerts / Cookies | SweetAlert, js-cookie |
| API Client | Axios |
| Backend | Node.js, Express 4 |
| Authentication | JWT |
| File Upload | Multer |
| Data Parsing | csv-parse, xlsx |
| Database | MongoDB, Mongoose 7 |
| Machine Learning | Python 3.12+, pandas, numpy, scikit-learn, Prophet, mlxtend, xgboost |
| Visualization / Output | matplotlib, plotly, openpyxl |
| Integration | python-shell |
| Development | concurrently |
The uploaded documentation lists React, Express, JWT, Multer, MongoDB, Mongoose, Python, pandas, numpy, scikit-learn, Prophet, mlxtend, XGBoost, matplotlib, plotly, python-shell, and concurrently as part of the technology stack.
Used by Sales Forecasting, Market Basket Analysis, RFM Segmentation, and LTV Prediction.
| Column | Description |
|---|---|
InvoiceNo |
Invoice / transaction ID |
Description |
Product description |
Quantity |
Units sold |
InvoiceDate |
Transaction date |
CustomerID |
Customer identifier |
UnitPrice |
Price per unit |
Country |
Country |
Stored as:
public/{userId}.csv
Required columns include:
customerID, gender, SeniorCitizen, Partner, Dependents, tenure, PhoneService, PaperlessBilling, MonthlyCharges, TotalCharges, Churn
Stored as:
public/{userId}churn.csv
Required columns:
history, offer, conversion
Stored as:
public/{userId}uplift.csv
Required columns:
offer, conversion
The project documentation defines separate CSV requirements for main sales data, churn analysis, uplift modeling, and market response modeling
| Script | Algorithm | Output |
|---|---|---|
Sales_Forecasting.py |
Prophet time-series | Forecast xlsx/csv |
Apriori.py |
Apriori association rules | Market_Basket.csv |
RFM_Value.py |
K-Means RFM | RFM.csv |
LTValue.py |
K-Means + LTV scoring | LTV.csv |
Churn.py |
XGBoost classification | churn.csv |
Market.py |
XGBoost response modeling | Console metrics |
Uplift.py |
XGBoost + K-Means uplift | uplift.csv, uplift1000.csv |
Step-by-step setup on your laptop or PC
cd "Code - Frontend + Backend"
npm install
cd client
npm install
cd ..
pip install prophet pandas numpy scikit-learn mlxtend xgboost openpyxl matplotlib plotly
npm run seed
npm run dev
This starts both backend and frontend together.
npm start
npm run client
The setup instructions include installing backend dependencies, frontend dependencies, Python ML packages, seeding the database, and running development servers.
Default demo accounts for testing after setup
| Role | Password | |
|---|---|---|
| Super Admin | [email protected] |
Admin@123 |
| Manager | [email protected] |
Manager@123 |
| Plan | Username | Password | Pre-uploaded Sales CSV | |
|---|---|---|---|---|
| Free | free_user |
[email protected] |
User@123 |
No |
| Standard | standard_user |
[email protected] |
User@123 |
Yes |
| Premium | premium_user |
[email protected] |
User@123 |
Yes |
Usage terms for academic and personal projects
Search terms and categories for this source code