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

Available Commands

npm run fresh    # Clean start (regenerates environment variables and cleans up containers)
npm run dev         # Start containers
npm run dev:build   # Start and build containers
npm run docker:clean   # Clean up containers and volumes
npm run dev:stop    # Stop all containers
npm run dev:logs    # View container logs
npm run supabase:reset    # Reset Supabase database and run migrations

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