Skip to content

Automated knowledge base creation system for manufacturing CPQ systems. Processes multi-format data (CSV, PDF, APIs) into structured, queryable databases with complete tenant isolation.

Notifications You must be signed in to change notification settings

GenerateNU/cortex-etl

Repository files navigation

Cortex ETL System

Automated knowledge base creation system for manufacturing CPQ systems. Processes multi-format data (CSV, PDF, APIs) into structured, queryable databases with complete tenant isolation.

Architecture

  • Backend: FastAPI for ETL processing and webhook handling
  • Frontend: React/TS Vite app for tenant/admin interfaces
  • Database: PostgreSQL with schema-per-tenant isolation via Supabase
  • Development: Local Supabase stack via Docker

Quick Start

Prerequisites

  • Docker Desktop
  • Node.js 22

Development Setup

# Clone and start everything
git clone https://github.com/GenerateNU/cortex-etl-source.git
cd cortex-etl-source
npm run fresh

This single command:

  • Generates all environment variables
  • Starts local Supabase stack
  • Builds and runs frontend/backend containers

Access Points

Development Login Credentials

Email Password Role
admin@cortex.com password Admin
eng@kawasaki-robotics.com password Tenant
eng@kuka.com password Tenant
eng@staubli.com password Tenant
eng@milara.com password Tenant

Available Commands

npm run init-dev    # installs all dev requirements and initializes supabase
npm run build       # builds the frontend and backend containers
npm run up          # starts supabase, the frontend, and the backend containers
npm run down        # closes supabase, the frotend, and the backend containers
npm run rebuild     # rebuilds the frontend and backend containers
npm run reset       # clears supabase's database, reruns migrations, and reseeds
npm run hard-clean  # downs everything and prunes all volumes
npm run fresh       # hard resets and starts every service from scratch

Project Structure

├── frontend/           # React/TS Vite tenant interface
├── backend/           # FastAPI ETL processing
├── docker-compose.yml # Application containers
└── init-dev.js       # Environment generator

About

Automated knowledge base creation system for manufacturing CPQ systems. Processes multi-format data (CSV, PDF, APIs) into structured, queryable databases with complete tenant isolation.

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •