This project is a React-based flow editor for building and visualizing pipelines, with a FastAPI backend for storing and retrieving pipeline data.
You can watch a demo of the Pipeline Flow Editor below:
- Node.js (v18+ recommended)
- Python 3.8+
- npm (comes with Node.js)
- pip (comes with Python)
git clone <your-repo-url>
cd frontend-20250815T125203Z-1-001cd frontend
npm installcd ../backend
pip install fastapi uvicorn pydanticuvicorn main:app --reloadThe backend will run at http://localhost:8000.
cd ../frontend
npm startThe frontend will run at http://localhost:3000.
- Drag and drop node types from the toolbar to build your pipeline.
- Connect nodes visually.
- Click "Submit" to save the pipeline to the backend.
- The backend stores nodes and edges in
db.jsonand provides endpoints to fetch or view the pipeline.
GET /pipelines/all— Fetch all saved nodes and edges.POST /pipelines/parse— Save nodes and edges to the backend.GET /— View the pipeline data in a simple HTML table.
- Make sure both frontend (
npm start) and backend (uvicorn main:app --reload) are running. - If you change backend code, restart the backend server.
- For CORS issues, ensure both servers are running on localhost.
