Skip to content

kashafbatool/infravision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 

Repository files navigation

InfraVision πŸ—οΈ

InfraVision is a cloud-native platform designed for uploading, visualizing, and diagnosing 3D infrastructure models, such as bridges, pipelines, and roads. Engineers can upload CAD-like files, run structural diagnostics, and explore models in real-time through a web-based interface.


πŸš€ Key Features

  • CAD File Uploads: Supports STEP, IGES, and STL formats
  • 3D Visualization: Interactive rendering with Three.js
  • Diagnostics Engine: Automated anomaly detection with AI modules
  • Kubernetes Architecture: Scalable pipeline for large-scale processing
  • Real-time Metrics: Stress analysis, load distribution, and performance overlays
  • File Format Flexibility: Multi-format CAD compatibility

πŸ› οΈ Tech Stack

Frontend:

  • React + TypeScript
  • TailwindCSS
  • Three.js

Backend:

  • Node.js (Express)
  • C++ (geometry parsing and analysis)
  • PostgreSQL (persistent data store)

Infrastructure:

  • Docker
  • Kubernetes
  • Redis (for job queueing)
  • AWS/GCP (cloud deployment)

πŸ”’ Prerequisites

  • Node.js >= 18.x
  • Docker >= 20.x
  • Kubernetes >= 1.24
  • PostgreSQL >= 14.x
  • C++ compiler (g++, clang)

πŸ”§ Local Setup

# Clone repo
$ git clone https://github.com/yourusername/infravision.git
$ cd infravision

# Install frontend/backend deps
$ npm install

# Configure environment
$ cp .env.example .env

# Run PostgreSQL and Redis
$ docker-compose up -d postgres redis

# Migrate DB
$ npm run migrate

# Launch dev servers
$ npm run dev

🚧 Docker Setup

$ docker-compose build
$ docker-compose up
# Frontend: http://localhost:3000
# API: http://localhost:5000

πŸš€ Kubernetes

$ kubectl apply -f k8s/
$ kubectl get pods -n infravision
$ kubectl port-forward svc/infravision-frontend 3000:3000

πŸ“ Structure

frontend/   -> React client
backend/    -> Express API
processor/  -> C++ analysis engine
k8s/        -> Kubernetes configs
docker-compose.yml

πŸ”Œ Key Endpoints

  • POST /api/upload: Upload file
  • GET /api/analysis/:fileId: Retrieve diagnostics
  • GET /api/model/:fileId/geometry: Fetch model geometry

πŸ“Š Performance

  • Avg. 500ms per 50MB CAD file
  • API latency ~100ms (P95)
  • 1000+ concurrent user support
  • 10TB+ model data processed

πŸ”’ Security

  • JWT Authentication
  • File validation
  • TLS, rate limiting, and SQL injection prevention

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors