Transform raw data into actionable insights with AI-powered analytics and machine learning
- Smart Upload - Drag-and-drop CSV/Excel files with automatic parsing
- Column Analysis - Automatic statistics, distributions, and correlations
- Interactive Charts - Bar, line, pie, scatter, radar, and stacked charts
- AI Insights - Natural language pattern detection and recommendations
- 10+ ML Algorithms - Random Forest, Gradient Boosting, Neural Networks, and more
- Feature Engineering - Create derived features with 13+ operations
- Auto-Training - One-click model training with optimized hyperparameters
- Predictions - Generate predictions on new data instantly
- Multiple Tiers - Free, Pro, Pro Plus, and Enterprise plans
- Usage Limits - Dataset limits, row limits, and prediction quotas
- Razorpay Integration - Secure subscription management
| Category | Technology |
|---|---|
| Frontend | Next.js 16, React 19, TypeScript, Tailwind CSS 4 |
| Backend | FastAPI, Python 3.11+ |
| Database | Supabase (PostgreSQL) |
| Authentication | Firebase Auth (Google + Email/Password) |
| Machine Learning | Scikit-learn, Pandas, NumPy |
| Cloud Storage | AWS S3 |
| Payments | Razorpay |
| State Management | Zustand |
| Charts | Recharts |
- Node.js 18+
- Python 3.11+
- Supabase account
- Firebase account
- AWS S3 bucket (optional)
git clone https://github.com/DarkSpark18/Quantara.git
cd Quantara/quantara
npm installFrontend (.env.local)
cp .env.example .env.localRequired variables:
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
NEXT_PUBLIC_FIREBASE_API_KEY=your_firebase_api_key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id
NEXT_PUBLIC_API_URL=http://localhost:8000Backend (backend/.env)
cd backend
cp .env.example .envRequired variables:
SUPABASE_URL=your_supabase_url
SUPABASE_KEY=your_supabase_service_key
SUPABASE_ANON_KEY=your_supabase_anon_key
FIREBASE_PROJECT_ID=your_firebase_project
FIREBASE_PRIVATE_KEY=your_private_key
FIREBASE_CLIENT_EMAIL=your_client_email
AWS_ACCESS_KEY_ID=your_aws_key
AWS_SECRET_ACCESS_KEY=your_aws_secret
AWS_REGION=us-east-1
S3_BUCKET_NAME=your_bucket_name
RAZORPAY_KEY_ID=your_razorpay_key
RAZORPAY_KEY_SECRET=your_razorpay_secretRun the schema in Supabase SQL Editor:
backend/supabase_schema.sql- Create project at Firebase Console
- Enable Authentication β Email/Password and Google sign-in
- Download service account JSON β save as
backend/firebase-service-account.json
Frontend
npm run dev
# Opens at http://localhost:3000Backend
cd backend
pip install -r requirements.txt
uvicorn app.main:app --reload
# API docs at http://localhost:8000/docsquantara/
βββ src/ # Next.js Frontend
β βββ app/ # App Router
β β βββ page.tsx # Landing page
β β βββ auth/ # Authentication pages
β β β βββ login/
β β β βββ register/
β β βββ dashboard/ # Protected dashboard
β β βββ page.tsx # Dashboard home
β β βββ analytics/ # Analytics page
β β βββ billing/ # Billing page
β β βββ playground/ # ML Playground
β β βββ settings/ # User settings
β β βββ upload/ # Data upload
β βββ components/
β β βββ ui/ # UI components (Button, Card, Modal, etc.)
β β βββ layout/ # Layout components (Sidebar, Header)
β β βββ charts/ # Chart components
β β βββ landing/ # Landing page components
β βββ store/ # Zustand stores
β βββ hooks/ # Custom React hooks
β βββ lib/ # Utilities (API, Firebase, utils)
β βββ types/ # TypeScript definitions
β
βββ backend/ # FastAPI Backend
β βββ app/
β β βββ api/ # API routes
β β β βββ auth.py
β β β βββ datasets.py
β β β βββ analytics.py
β β β βββ billing.py
β β β βββ playground.py # ML endpoints
β β βββ core/ # Core configuration
β β β βββ config.py
β β β βββ database.py
β β β βββ security.py
β β β βββ plan_enforcement.py
β β βββ services/ # Business logic
β β β βββ analytics_service.py
β β β βββ feature_engineering.py
β β β βββ billing_service.py
β β βββ ml/ # Machine learning
β β β βββ playground_predictor.py
β β βββ main.py # FastAPI entry point
β βββ supabase_schema.sql # Database schema
β βββ requirements.txt
β
βββ docker-compose.yml # Docker setup
βββ package.json
| Model | Type | Best For |
|---|---|---|
| Random Forest | Ensemble | Best overall performance |
| Gradient Boosting | Ensemble | High accuracy tasks |
| Extra Trees | Ensemble | Fast, robust predictions |
| Decision Tree | Single | Interpretable results |
| Logistic Regression | Linear | Binary classification |
| K-Nearest Neighbors | Instance | Simple pattern recognition |
| Support Vector Machine | Linear/Non-linear | Complex decision boundaries |
| Neural Network (MLP) | Deep Learning | Complex patterns |
| Naive Bayes | Probabilistic | Quick baseline |
| AdaBoost | Ensemble | Adaptive learning |
- Primary: Violet (#7C3AED)
- Secondary: Purple (#A855F7)
- Background: Zinc tones
- Accent: Emerald for success, Red for errors
- Button, Badge, Card, Modal, Dialog
- Input, Dropdown (native HTML)
- Charts (Recharts)
This project is licensed under the MIT License - see the LICENSE file for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
DarkSpark18 β’ MIT License
Built with β€οΈ by the Quantara Team
