Skip to content

jellyfishing2346/InsightDash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

InsightDash Analytics Platform

Status Frontend Backend Live Demo License

A comprehensive analytics and forecasting platform with advanced features for data-driven insights, real-time monitoring, and predictive analytics.

๐ŸŒ LIVE DEPLOYMENT

๐Ÿš€ Access the Live Platform

๐ŸŽฎ Quick Demo Access

  1. Visit: https://insightdash-frontend.onrender.com
  2. Register: Create a new account (any email/username works)
  3. Login: Use your created credentials
  4. Explore: Navigate to analytics dashboard, data management, and forecasting features

โœจ Platform Status: FULLY FUNCTIONAL

โœ… Complete full-stack deployment on Render.com
โœ… User registration and authentication working
โœ… Analytics dashboard with live data
โœ… Real-time API connectivity
โœ… Interactive data visualizations
โœ… Model comparison and forecasting
โœ… Dataset management and export
โœ… Responsive design for all devices

๐Ÿ—๏ธ Deployment Architecture

๐ŸŒ Live Infrastructure

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                    PRODUCTION DEPLOYMENT                    โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                                                             โ”‚
โ”‚  Frontend (React)                Backend (Python)           โ”‚
โ”‚  โ”œโ”€ Render Static Site           โ”œโ”€ Render Web Service      โ”‚
โ”‚  โ”œโ”€ https://insightdash-         โ”œโ”€ https://insightdash-    โ”‚
โ”‚  โ”‚  frontend.onrender.com        โ”‚  backend.onrender.com    โ”‚
โ”‚  โ”œโ”€ Build: npm run build         โ”œโ”€ Docker Container        โ”‚
โ”‚  โ”œโ”€ Serve: Static Files          โ”œโ”€ Python Mock Server      โ”‚
โ”‚  โ””โ”€ Environment: Production      โ””โ”€ Port: Dynamic (Render)  โ”‚
โ”‚                                                             โ”‚
โ”‚              API Communication                              โ”‚
โ”‚  Frontend โ†โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ†’ Backend                      โ”‚
โ”‚  (HTTPS Requests)        (JSON Responses)                  โ”‚
โ”‚                                                             โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ“ Repository Structure

InsightDash/
โ”œโ”€โ”€ ๐Ÿ“ frontend/                    # React 18 Application
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ src/
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“ components/         # UI Components
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“ analytics/      # Analytics Dashboard
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“ auth/          # Authentication
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“ dashboard/     # Main Dashboard
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“ datasets/      # Data Management
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“ services/          # API Services
โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“ types/             # TypeScript Types
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ package.json           # Dependencies
โ”‚   โ””โ”€โ”€ ๐Ÿ“„ Dockerfile             # Frontend Container
โ”œโ”€โ”€ ๐Ÿ“ backend/                     # Python Backend
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ mock_server.py          # Production Mock Server
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ requirements.txt       # Python Dependencies
โ”‚   โ””โ”€โ”€ ๐Ÿ“„ Dockerfile             # Backend Container
โ”œโ”€โ”€ ๐Ÿ“„ README.md                   # This file
โ””โ”€โ”€ ๐Ÿ“ deployment/                 # Deployment Configs
    โ”œโ”€โ”€ ๐Ÿ“„ DEPLOYMENT_GUIDE.md     # Complete deployment guide
    โ”œโ”€โ”€ ๐Ÿ“„ render-frontend-instructions.md
    โ””โ”€โ”€ ๐Ÿ“„ DEPLOYMENT_STATUS.md    # Current status

๐ŸŽฏ Core Features & Capabilities

๐Ÿ“Š Analytics Dashboard

  • ๐Ÿ“ˆ Real-time Metrics: Live data visualization with interactive charts
  • ๐Ÿ“‹ Summary Cards: Total datasets, forecasts, accuracy metrics
  • ๐Ÿ”„ Auto-refresh: Dynamic data updates every 30 seconds
  • ๐Ÿ“ฑ Responsive Design: Works perfectly on desktop, tablet, and mobile

๐Ÿ”ฎ Predictive Analytics & Forecasting

  • ๐Ÿค– Multiple Models: Linear Regression, ARIMA, Moving Averages
  • ๐Ÿ“Š Model Comparison: Side-by-side accuracy and performance metrics
  • ๐ŸŽฏ Forecasting Engine: Generate predictions with confidence intervals
  • ๐Ÿ“‰ Trend Analysis: Pattern detection and statistical insights

๐Ÿ’พ Dataset Management

  • ๐Ÿ“ Multi-format Support: CSV, JSON, Excel file handling
  • ๐Ÿ‘€ Data Preview: Paginated exploration with filtering
  • ๐Ÿ“ค Export Features: Download in multiple formats
  • ๐Ÿ” Analytics Per Dataset: Individual dataset insights and stats

๐Ÿ‘ค User Management & Authentication

  • ๐Ÿ” Secure Registration: JWT-based authentication system
  • ๐Ÿšช Login/Logout: Persistent session management
  • ๐Ÿ‘ฅ User Profiles: Account management and preferences
  • ๐Ÿ›ก๏ธ Protected Routes: Secure access to dashboard features

๐ŸŽจ User Interface & Experience

  • ๐ŸŽจ Modern Design: Clean, professional Tailwind CSS styling
  • โšก Fast Performance: Optimized React components and lazy loading
  • ๐Ÿ”„ State Management: Zustand for efficient state handling
  • ๐ŸŽฏ Navigation: Intuitive routing with React Router

๐ŸŒ API & Backend Features

  • ๐Ÿ”— RESTful API: Complete CRUD operations for all resources
  • ๐Ÿ“Š Mock Data: Realistic sample data for demonstration
  • ๐Ÿ”„ CORS Support: Cross-origin requests properly configured
  • ๐Ÿš€ Scalable: Ready for production database integration

๐Ÿ› ๏ธ Technology Stack

Frontend Technologies

React 18.2.0          # Modern React with Hooks
TypeScript 4.9.5      # Type safety and better DX
Tailwind CSS 3.4.0    # Utility-first CSS framework
React Router 6.20.1   # Client-side routing
React Query 5.0.0     # Server state management
Zustand 4.4.7         # Global state management
Chart.js 4.4.9        # Interactive data visualization
Recharts 2.8.0        # React chart components
Axios 1.6.2           # HTTP client for API calls
React Hot Toast 2.4.1 # Beautiful notifications

Backend Technologies

Python 3.10+          # Modern Python runtime
HTTP Server           # Built-in Python HTTP server
JSON Data Handling    # Native JSON processing
CORS Support          # Cross-origin resource sharing
Mock Data Generation  # Realistic sample data
RESTful Architecture  # Standard API design

Deployment & DevOps

Render.com            # Cloud hosting platform
Docker                # Containerization
GitHub Actions        # CI/CD pipeline
Git Version Control   # Source code management
Environment Variables # Configuration management

๐Ÿš€ Getting Started Locally

Quick Setup

# Clone the repository
git clone https://github.com/jellyfishing2346/InsightDash.git
cd InsightDash

# Setup Frontend
cd InsightDash/frontend
npm install
npm start  # Runs on http://localhost:3000

# Setup Backend (in new terminal)
cd ../backend
python3 mock_server.py  # Runs on http://localhost:8000

Access Points

๐Ÿ“Š API Endpoints

Authentication

POST /api/v1/auth/register    # User registration
POST /api/v1/auth/login       # User login
GET  /api/v1/auth/me          # Current user info

Analytics

GET /api/v1/analytics/summary           # Analytics overview
GET /api/v1/analytics/forecasts/recent  # Recent forecasts
GET /api/v1/analytics/models/stats      # Model statistics
GET /api/v1/analytics/models/compare    # Model comparison

Datasets

GET    /api/v1/datasets                 # List all datasets
GET    /api/v1/datasets/{id}            # Get specific dataset
GET    /api/v1/datasets/{id}/preview    # Preview dataset data
GET    /api/v1/datasets/{id}/analytics  # Dataset analytics
GET    /api/v1/datasets/{id}/export     # Export dataset

๐ŸŒŸ Live Demo Usage

Step-by-Step Guide

  1. ๐ŸŒ Visit: https://insightdash-frontend.onrender.com

  2. ๐Ÿ‘ค Register:

    • Click "Sign Up"
    • Fill in any username, email, and password
    • Submit the form
  3. ๐Ÿšช Login: Use your created credentials

  4. ๐Ÿ“Š Explore Dashboard:

    • View analytics summary cards
    • Check recent forecasts
    • Compare model performance
  5. ๐Ÿ’พ Browse Datasets:

    • Navigate to "Datasets"
    • Preview sample data
    • View individual analytics
  6. ๐Ÿ”ฎ Analytics Features:

    • Go to "Analytics" section
    • View model comparisons
    • Explore forecasting data

๐Ÿ† Deployment Achievement

This project demonstrates a complete full-stack deployment including:

  • โœ… Frontend Deployment: React app with TypeScript and modern tooling
  • โœ… Backend Deployment: Python mock server with comprehensive API
  • โœ… Environment Configuration: Production-ready settings and variables
  • โœ… CORS Resolution: Proper cross-origin request handling
  • โœ… Authentication Flow: Complete user registration and login system
  • โœ… API Integration: Seamless frontend-backend communication
  • โœ… Error Handling: Robust error management and user feedback
  • โœ… Performance Optimization: Fast loading and responsive design

๐Ÿ“ž Support & Contact

For questions, issues, or contributions:

๐Ÿ“„ License

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

License Summary

  • โœ… Commercial Use: Free to use in commercial projects
  • โœ… Modification: Free to modify and adapt the code
  • โœ… Distribution: Free to distribute copies
  • โœ… Private Use: Free to use privately
  • โš ๏ธ Liability: No warranty or liability provided
  • โš ๏ธ Trademark: Does not grant trademark rights

โญ Star this repository if you found it helpful!

๐Ÿ”— Live Links:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published