Cleanytics is an AI-powered data cleaning and analytics platform designed to transform messy CSV and Excel datasets into clean, structured, and meaningful information.
The platform combines a modern React frontend with a FastAPI backend to provide authentication, dataset management, analytics, audit logging, health monitoring, and background job tracking.
Cleanytics aims to make data cleaning and analysis easier for users who work with large or messy datasets.
Upload your data โ Clean it โ Analyze it โ Get better insights.
User
โ
โผ
Login / Register
โ
โผ
Upload CSV / Excel
โ
โผ
Dataset Processing
โ
โผ
Data Cleaning
โ
โผ
Analytics & Quality
โ
โผ
Dashboard
โ
โผ
History / Audit / Export
|
User registration, login, token refresh and password recovery. |
Upload and manage CSV and Excel datasets. |
Dashboard statistics and dataset-level analytics. |
|
Dataset processing and quality tracking. |
Track user actions and application activity. |
Track long-running dataset processing tasks. |
|
Monitor backend and database availability. |
Manage user profiles and admin access. |
View dataset statistics and quality information. |
| Update | Status |
|---|---|
| Dashboard | โ |
| Dashboard Triggers | โ |
| Dashboard Interactions | โ |
| UI Improvements | โ |
| Bug Fixes | โ |
| Localhost Support | โ |
| Frontend Integration | โ |
| FastAPI Backend | โ |
| API v1 Structure | โ |
| Database Integration | ๐ |
| Advanced Data Cleaning | ๐ |
| AI Cleaning Engine | ๐ฎ |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ React 19 Frontend โ
โ โ
โ Login โข Dashboard โข Analytics โ
โ History โข Settings โข Upload โ
โโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโ
โ
โ REST API
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ FastAPI Backend โ
โ โ
โ /api/v1 โ
โ โ
โ Auth โข Users โข Datasets โ
โ Analytics โข Audit โข Jobs โข Health โ
โโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโดโโโโโโโโโ
โผ โผ
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ Database โ โ Background Jobs โ
โ โ โ โ
โ PostgreSQL โ โ Celery โ
โ SQLite Fallback โ โ Task Tracking โ
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
The Cleanytics backend provides a versioned API layer located at:
Backend/app/api/v1/
Backend/
โโโ app/
โโโ api/
โโโ v1/
โโโ __init__.py
โโโ analytics.py
โโโ audit.py
โโโ auth.py
โโโ datasets.py
โโโ health.py
โโโ jobs.py
โโโ users.py
Location:
Backend/app/api/v1/auth.py
Handles user authentication and account security.
- User registration
- User login
- Access token generation
- Refresh token handling
- Password recovery
- Password reset
- Authentication rate limiting
POST /auth/register
POST /auth/login
POST /auth/refresh
POST /auth/forgot-password
POST /auth/reset-password
Location:
Backend/app/api/v1/datasets.py
Handles CSV and Excel dataset uploads and dataset management.
- Upload datasets
- Process uploaded files
- Store dataset metadata
- Create dataset versions
- List user datasets
- Preview dataset information
POST /datasets/upload
GET /datasets
GET /datasets/{dataset_id}
CSV / Excel
โ
โผ
Upload API
โ
โผ
File Processing
โ
โผ
Dataset Metadata
โ
โผ
Dataset Version
โ
โผ
Database
Location:
Backend/app/api/v1/analytics.py
Provides dashboard and dataset-level analytics.
- Dashboard statistics
- Dataset statistics
- Data quality information
- Row and column counts
- Storage information
- Dataset summaries
GET /analytics/dashboard
GET /analytics/datasets/{dataset_id}
Dataset
โ
โผ
Latest Dataset Version
โ
โผ
Data Analysis
โ
โโโ Rows
โโโ Columns
โโโ Quality
โโโ Storage
โโโ Summary
โ
โผ
Analytics API
โ
โผ
React Dashboard
Location:
Backend/app/api/v1/users.py
Handles authenticated user profiles and admin-level user management.
- Get current user
- Update current user
- Validate access tokens
- Admin authorization
- List users
GET /users/me
PUT /users/me
GET /users
Access Token
โ
โผ
Token Validation
โ
โผ
Find User
โ
โผ
Authenticated User
โ
โโโ Normal User
โ
โโโ Admin User
Location:
Backend/app/api/v1/audit.py
Provides audit and activity history for authenticated users.
- Retrieve audit logs
- Track user actions
- Track entity type
- Track entity ID
- Pagination support
GET /audit/logs
User Action
โ
โผ
Audit Service
โ
โผ
Audit Log
โ
โผ
GET /audit/logs
โ
โผ
History / Activity
Location:
Backend/app/api/v1/health.py
Checks backend and database availability.
GET /health
Health Request
โ
โผ
Database Check
โ
โโโ PostgreSQL
โ
โโโ SQLite Fallback
โ
โผ
Health Status
This allows the application to determine whether the backend database connection is available.
Location:
Backend/app/api/v1/jobs.py
Tracks background dataset-processing tasks.
- Track Celery tasks
- Get task status
- Track progress
- Return processing messages
- Return task results
GET /jobs/{task_id}
Dataset Processing
โ
โผ
Celery Task
โ
โผ
Task ID
โ
โผ
GET /jobs/{task_id}
โ
โผ
โโโโโโโโโโโโโโโโโโโ
โ Status โ
โ Progress โ
โ Message โ
โ Result โ
โโโโโโโโโโโโโโโโโโโ
|
auth.py Authentication |
users.py User Management |
datasets.py Dataset Management |
analytics.py Analytics |
|
audit.py Audit Logs |
health.py Health Monitoring |
jobs.py Background Jobs |
v1 API Version |
React Frontend
โ
โผ
FastAPI Router
โ
โผ
/api/v1
โ
โโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโ
โ โ โ
โผ โผ โผ
Auth Datasets Analytics
โ โ โ
โผ โผ โผ
Users Services Analysis
โ โ โ
โโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโ
โ
โผ
Database
โ
โผ
PostgreSQL / SQLite
โ
โผ
Celery Jobs
โ
โผ
Background Tasks
Cleanytics/
โ
โโโ Frontend/
โ โโโ LoginNew/
โ โโโ src/
โ โ โโโ components/
โ โ โโโ screens/
โ โ โโโ styles/
โ โ โโโ App.jsx
โ โ โโโ main.jsx
โ โ
โ โโโ package.json
โ โโโ vite.config.js
โ
โโโ Backend/
โ โโโ app/
โ โโโ api/
โ โ โโโ v1/
โ โ โโโ __init__.py
โ โ โโโ analytics.py
โ โ โโโ audit.py
โ โ โโโ auth.py
โ โ โโโ datasets.py
โ โ โโโ health.py
โ โ โโโ jobs.py
โ โ โโโ users.py
โ โ
โ โโโ core/
โ โโโ models/
โ โโโ schemas/
โ โโโ services/
โ โโโ workers/
โ
โโโ run_project.bat
โ
โโโ README.md
Start the local PostgreSQL database included with the project:
docker compose up -d postgresCreate the backend environment file from the safe local template:
Copy-Item Backend\.env.example Backend\.envAfter installing the backend dependencies, apply the database migrations:
cd Backend
python -m alembic upgrade headThe local database connection is cleanytics:cleanytics@localhost:5432/cleanytics. Check that PostgreSQL is reachable at http://localhost:8000/api/v1/health after starting the backend.
cd Frontend/LoginNew
npm install
npm run devOpen:
http://localhost:5173
cd BackendCreate virtual environment:
python -m venv .venvActivate on Windows:
.venv\Scripts\activateInstall dependencies:
pip install -r requirements.txtStart the FastAPI server using the project's configured backend entry point.
FastAPI documentation:
http://localhost:8000/docs
Alternative documentation:
http://localhost:8000/redoc
You can also start the project using:
run_project.bat
Double-click:
run_project.bat
Then open the localhost URL shown in the terminal.
/api/v1/
Main API groups:
/api/v1/auth
/api/v1/users
/api/v1/datasets
/api/v1/analytics
/api/v1/audit
/api/v1/jobs
/health
Cleanytics includes authentication and authorization features such as:
- Access tokens
- Refresh tokens
- Bearer authentication
- Authenticated user validation
- Admin authorization
- Password reset flow
- Authentication rate limiting
- Dataset upload protection
CSV / Excel File
โ
โผ
Dataset Upload API
โ
โผ
Upload Service
โ
โผ
Dataset Metadata
โ
โผ
Dataset Version
โ
โผ
Background Processing
โ
โผ
Data Cleaning
โ
โผ
Quality Analysis
โ
โผ
Analytics API
โ
โผ
Dashboard
| Phase | Feature | Status |
|---|---|---|
| 01 | Frontend UI | โ |
| 02 | Dashboard | โ |
| 03 | Dashboard Triggers | โ |
| 04 | Authentication API | โ |
| 05 | Dataset API | โ |
| 06 | Analytics API | โ |
| 07 | User API | โ |
| 08 | Audit API | โ |
| 09 | Health API | โ |
| 10 | Background Jobs API | โ |
| 11 | Advanced Cleaning Engine | ๐ |
| 12 | AI Data Cleaning | ๐ฎ |
| 13 | Advanced Data Quality | ๐ฎ |
| 14 | Cloud Deployment | ๐ฎ |
- AI-powered automatic data cleaning
- Smart anomaly detection
- Intelligent data quality suggestions
- Automated data transformation
- AI-generated dataset insights
- Advanced charts
- Real-time analytics
- Data quality reports
- Custom dashboards
- Advanced statistical analysis
- Missing-value suggestions
- Duplicate detection
- Outlier detection
- Data normalization
- Automated column type detection
- Cloud deployment
- Scalable database
- Production Redis
- Distributed Celery workers
- Monitoring and logging
| Property | Details |
|---|---|
| Project Name | Cleanytics |
| Version | 2.0 |
| Frontend | React 19 + Vite |
| Backend | FastAPI + Python |
| Database | PostgreSQL / SQLite |
| Data Processing | Pandas |
| Background Processing | Celery |
| API Version | v1 |
| Project Coordinator & Tester | Janmejay Kumar Singh |
| Backend & Database Connection | Vansh Bhardwaj |
| Frontend & Database | Lucky Chaurasiya |
Cleanytics is actively being developed as a complete data cleaning and analytics platform.
The project currently combines:
React Frontend
+
FastAPI Backend
+
Database Layer
+
Dataset APIs
+
Analytics APIs
+
Authentication
+
Audit Logs
+
Background Jobs
The next major focus is expanding the data-cleaning engine, improving analytics, and introducing AI-powered data quality and transformation features.