This project is a no-code platform for creating and managing AI-driven automation pipelines. It consists of a backend built with FastAPI and a frontend built with React.
Demo: Click Here
Link: https://react-flow-graphs-frontend.vercel.app/
Backend: https://no-code-ai-automations-platform-backend.onrender.com/
The backend is built with FastAPI and provides APIs for managing pipelines. It includes the following key components:
- main.py: The main entry point of the backend application.
- Node, Edge, Pipeline: Pydantic models representing the structure of a pipeline.
-
Create a virtual environment:
python -m venv .myenv
-
Activate the virtual environment:
source .myenv/bin/activate
-
Install the dependencies:
pip install -r requirements.txt
-
Run the FastAPI server:
uvicorn main:app --reload
The backend server will be available at http://127.0.0.1:8000
.
The frontend is built with React and provides a drag-and-drop interface for creating pipelines. It includes the following key components:
- App.js: The main entry point of the frontend application.
- PipelineToolbar: A toolbar for adding nodes to the pipeline.
- PipelineUI: The main UI for displaying and managing the pipeline.
- SubmitButton: A button for submitting the pipeline to the backend.
-
Navigate to the
frontend
directory:cd frontend
-
Install the dependencies:
npm install
-
Start the development server:
npm start
The frontend application will be available at http://localhost:3000
.
Parses a pipeline and returns the number of nodes, number of edges, and whether the graph is a Directed Acyclic Graph (DAG).