Skip to content

Krishna-Mawar18/Quantara

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Quantara - AI-Powered Data Intelligence Platform

Quantara Logo

Transform raw data into actionable insights with AI-powered analytics and machine learning

Stars Issues License


✨ Features

πŸ“Š Data Analytics

  • 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

πŸ€– ML Playground

  • 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

πŸ’³ Billing & Plans

  • Multiple Tiers - Free, Pro, Pro Plus, and Enterprise plans
  • Usage Limits - Dataset limits, row limits, and prediction quotas
  • Razorpay Integration - Secure subscription management

πŸ› οΈ Tech Stack

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

πŸš€ Quick Start

Prerequisites

  • Node.js 18+
  • Python 3.11+
  • Supabase account
  • Firebase account
  • AWS S3 bucket (optional)

1. Clone & Install

git clone https://github.com/DarkSpark18/Quantara.git
cd Quantara/quantara
npm install

2. Environment Setup

Frontend (.env.local)

cp .env.example .env.local

Required 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:8000

Backend (backend/.env)

cd backend
cp .env.example .env

Required 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_secret

3. Database Setup

Run the schema in Supabase SQL Editor:

backend/supabase_schema.sql

4. Firebase Setup

  1. Create project at Firebase Console
  2. Enable Authentication β†’ Email/Password and Google sign-in
  3. Download service account JSON β†’ save as backend/firebase-service-account.json

5. Run Development Servers

Frontend

npm run dev
# Opens at http://localhost:3000

Backend

cd backend
pip install -r requirements.txt
uvicorn app.main:app --reload
# API docs at http://localhost:8000/docs

πŸ“ Project Structure

quantara/
β”œβ”€β”€ 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

πŸ§ͺ ML Playground Models

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

🎨 Design System

Colors

  • Primary: Violet (#7C3AED)
  • Secondary: Purple (#A855F7)
  • Background: Zinc tones
  • Accent: Emerald for success, Red for errors

Components

  • Button, Badge, Card, Modal, Dialog
  • Input, Dropdown (native HTML)
  • Charts (Recharts)

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


🀝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

DarkSpark18 β€’ MIT License


Built with ❀️ by the Quantara Team

About

Analytics Technology for Learning, Automation & Statistics Lab

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors