Fake Product Review Detection System π
The Fake Product Detection System is a machine learning-powered web application that helps users identify whether a product has genuine or manipulated reviews on eCommerce platforms. It leverages Natural Language Processing (NLP) and supervised learning models to analyze reviews and detect fake ones.
| Feature | Description |
|---|---|
| Fake Review Detection | Classifies reviews as Fake or Original using a trained ML model. |
| User-Friendly Interface | Simple, intuitive UI built with React & Tailwind CSS. |
| API Integration | Connects to a Flask backend for real-time predictions. |
| Data Upload Support | Allows users to upload CSV datasets for batch analysis. |
| Visualization & Insights | Displays review authenticity percentage with meaningful insights. |
| Fast & Efficient Processing | Uses vectorization techniques for quick text analysis. |
β
Frontend: Vite + React + Tailwind CSS
β
Backend: Flask (REST API)
β
Machine Learning: Scikit-learn (Logistic Regression)
β
Model Storage: Joblib for saving/loading .pkl models
β
Data Processing: Pandas & NumPy
1οΈβ£ Train the Machine Learning model using real & fake review datasets.
2οΈβ£ Save the trained model as fake_review_model.pkl.
3οΈβ£ Run the Flask backend server to expose a REST API.
4οΈβ£ Connect the React frontend to interact with the API.
5οΈβ£ Upload or enter product reviews to get authenticity results.
β‘ This system empowers consumers to make informed purchasing decisions by identifying fraudulent product reviews!
FraudFilter - Minor Project/
βββ backend/
β βββ .venv/ # Virtual environment (version = 3.13.2)
β βββ ml/ # ML-related scripts and utilities
β βββ model/ # Trained ML models
β βββ scraped_files/ # Stores scraped eCommerce reviews
β βββ uploads/ # Stores uploaded files for analysis
β βββ utils/ # Helper functions for backend
β βββ app.py # Main Flask API file
β βββ requirements.txt # Python dependencies
βββ frontend/
β βββ node_modules/ # Dependencies for frontend
β βββ public/ # Public assets like index.html
β βββ src/ # React source files
β β βββ components/ # Reusable React components
β β βββ assets/ # Images, icons, etc.
β β βββ utils/ # Utility functions
β βββ .env # Environment variables
β βββ .gitignore # Git ignore file
β βββ eslint.config.js # ESLint configuration
β βββ index.html # Main HTML file
β βββ package.json # Frontend dependencies
β βββ package-lock.json # Lockfile for package versions
β βββ postcss.config.js # PostCSS configuration
β βββ README.md # Project documentation
β βββ tailwind.config.js # Tailwind configuration
β βββ vite.config.js # Vite configuration Ensure you have the following installed on your system:
- Python 3.8+
- Node.js & npm
- pip (Python package manager)
- Virtual env (recommanded: use virtual environment if accidently installed requirements globally use "pip uninstall -r requirements.txt -y")
# Navigate to the backend folder
cd backend
# Create a virtual environment (optional but recommended)
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
#[recommanded: use virtual environment if accidently installed requirements globally use "pip uninstall -r requirements.txt -y]
# Run the Flask server
python app.py
π Flask API will start at http://127.0.0.1:5000/
# Navigate to the frontend folder
cd frontend
# Install dependencies
npm install
# Start the development server
npm run devπ React app will run at http://localhost:5173/
| Interface | Preview |
|---|---|
| HOME | ![]() |
| WORKING | ![]() |
| ABOUT | ![]() |
| CONTACTS | ![]() |
| BLOGS | ![]() |
| FAQ's | ![]() |
| MODEL TRY PAGE | ![]() |
| USING CSV FILE | ![]() |
| USING PRODUCT LINK | ![]() |
π More detailed UI screenshots can be found in the project_images/ folder.
This project is developed for educational and research purposes only. We have used publicly available product reviews from Flipkart to analyze and detect fake reviews. No part of this project is intended for commercial use or to infringe on Flipkartβs rights. All trademarks and product information belong to their respective owners. If required, we are willing to remove any data or content upon request.
π‘ Want to contribute? Fork the repo, create a branch, and submit a pull request. I welcome bug fixes, feature improvements, and optimizations.
π» Developed by Manish Patel
π§ Email: maneeshkurmii@gmail.com
π LinkedIn: itsmaneeshk
π· Instagram: its_maneeshk_
πΉ Follow my work on GitHub & let's build something amazing together! π








