Automated knowledge base creation system for manufacturing CPQ systems. Processes multi-format data (CSV, PDF, APIs) into structured, queryable databases with complete tenant isolation.
- 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
- Docker Desktop
- Node.js 22
# Clone and start everything
git clone https://github.com/GenerateNU/cortex-etl-source.git
cd cortex-etl-source
npm run freshThis single command:
- Generates all environment variables
- Starts local Supabase stack
- Builds and runs frontend/backend containers
- Frontend: http://localhost:5173
- Backend API: http://localhost:8000
- Supabase Studio: http://localhost:54323
| 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 |
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├── frontend/ # React/TS Vite tenant interface
├── backend/ # FastAPI ETL processing
├── docker-compose.yml # Application containers
└── init-dev.js # Environment generator