Coder Social home page Coder Social logo

thekiranmahajan / ctrlb-pipeline-builder Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 122 KB

A pipeline builder application using React, Vite, Tailwind CSS, and ReactFlow. This interactive tool allows users to add, connect, and manage source and destination nodes visually. Key features include draggable nodes, connection restrictions, randomized node positioning, and modular, reusable code. Built with a standard folder structure.

Home Page: https://ctrlb-pipeline-builder.vercel.app

JavaScript 81.76% HTML 17.66% CSS 0.58%
disconnect edges javascript nodes reactflow reactjs tailwind-css vitejs

ctrlb-pipeline-builder's Introduction

Pipeline Builder Application

This project is a pipeline builder application built using React, Vite, Tailwind CSS, and ReactFlow. The application allows users to create, connect, and manage nodes representing sources and destinations in a visually interactive manner.

Features

  • Add Nodes: Users can add two types of nodes: Source nodes on the left and Destination nodes on the right.
  • Connect Nodes: Users can connect Source nodes to Destination nodes by dragging from one node to another.
  • Connection Restrictions: The application restricts connections such that two Source nodes or two Destination nodes cannot be connected to each other.
  • Delete Connections: Users can click on a connection between two nodes to delete the connection.
  • Draggable Nodes: Nodes can be dragged and repositioned anywhere on the screen.
  • Randomized Node Positioning: New nodes are added at random Y-coordinates for varied placement.
  • Modular Code: The code is organized into reusable components to ensure maintainability and scalability.
  • Standard Folder Structure: The project follows a standard folder structure, enhancing clarity and organization.

Preview

image

Live Demo

https://ctrlb-pipeline-builder.vercel.app/

Installation

To run the application locally, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/thekiranmahajan/ctrlb-pipeline-builder
    
    cd ./ctrlb-pipeline-builder
  2. Install Dependencies:

    npm install
  3. Start the Development Server:

    npm run dev
  4. Open in Browser: Open your browser and navigate to http://localhost:5173 to see the application in action.

Tech Stack

  • React: A JavaScript library for building user interfaces.
  • Vite: A fast development build tool for modern web projects.
  • Tailwind CSS: A utility-first CSS framework for rapidly building custom user interfaces.
  • ReactFlow: A library for building node-based applications and diagrams.

Project Structure

The project follows a standard folder structure as outlined below:

ctrlb-pipeline-builder/
├── node_modules/
├── src/
│   ├── assets/
│   │   ├── arrow.svg
│   │   └── cross.svg
│   ├── components/
│   │   ├── AddNodesMenu.jsx
│   │   ├── CustomEdge.jsx
│   │   ├── DestinationNode.jsx
│   │   ├── index.js
│   │   └── SourceNode.jsx
│   ├── utils/
│   │   └── constants.js
│   ├── App.jsx
│   ├── index.css
│   ├── main.jsx
├── .eslintrc.cjs
├── .gitignore
├── index.html
├── package-lock.json
├── package.json
├── postcss.config.js
├── README.md
├── tailwind.config.js
└── vite.config.js

Additional Notes

  • Modular Code: Each component is designed to be modular, making it easy to maintain and extend.
  • Reusability: The components and utilities are designed with reusability in mind.
  • Tech Stack: The project leverages modern web technologies such as React, Vite, Tailwind CSS, and ReactFlow to provide a seamless development experience and a performant application.

Made with Love for React 💖

This application was crafted with a passion for React, leveraging modern development tools and best practices to deliver a smooth and intuitive user experience.


Feel free to contribute to this project or provide feedback to help improve it further!

Note: This project is part of an assignment and aims to demonstrate proficiency in React, Tailwind CSS, and related technologies.

ctrlb-pipeline-builder's People

Contributors

thekiranmahajan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.