A comprehensive analytics and forecasting platform with advanced features for data-driven insights, real-time monitoring, and predictive analytics.
- ๐ฏ Frontend (React App): https://insightdash-frontend.onrender.com
- โก Backend API: https://insightdash-backend.onrender.com
- Visit: https://insightdash-frontend.onrender.com
- Register: Create a new account (any email/username works)
- Login: Use your created credentials
- Explore: Navigate to analytics dashboard, data management, and forecasting features
โ
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
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 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) โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
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
- ๐ 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
- ๐ค 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
- ๐ 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
- ๐ Secure Registration: JWT-based authentication system
- ๐ช Login/Logout: Persistent session management
- ๐ฅ User Profiles: Account management and preferences
- ๐ก๏ธ Protected Routes: Secure access to dashboard features
- ๐จ 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
- ๐ 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
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
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
Render.com # Cloud hosting platform
Docker # Containerization
GitHub Actions # CI/CD pipeline
Git Version Control # Source code management
Environment Variables # Configuration management
# 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- Frontend: http://localhost:3000
- Backend API: http://localhost:8000
- API Documentation: http://localhost:8000 (shows available endpoints)
POST /api/v1/auth/register # User registration
POST /api/v1/auth/login # User login
GET /api/v1/auth/me # Current user info
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
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
-
๐ Visit: https://insightdash-frontend.onrender.com
-
๐ค Register:
- Click "Sign Up"
- Fill in any username, email, and password
- Submit the form
-
๐ช Login: Use your created credentials
-
๐ Explore Dashboard:
- View analytics summary cards
- Check recent forecasts
- Compare model performance
-
๐พ Browse Datasets:
- Navigate to "Datasets"
- Preview sample data
- View individual analytics
-
๐ฎ Analytics Features:
- Go to "Analytics" section
- View model comparisons
- Explore forecasting data
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
For questions, issues, or contributions:
- ๐ง Email: Support through GitHub issues
- ๐ Bug Reports: GitHub Issues
- ๐ก Feature Requests: GitHub Discussions
This project is licensed under the MIT License - see the LICENSE file for details.
- โ 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: