{
  "name": "Set up complete MERN stack development environment on Linux server",
  "nodes": [
    {
      "id": "a05a9421-9722-4b8a-8105-fa5568137783",
      "name": "Start",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "3e777158-c7ea-44df-9da3-6382f9909ceb",
      "name": "Set Parameters",
      "type": "n8n-nodes-base.set",
      "position": [
        220,
        0
      ]
    },
    {
      "id": "871544b0-9465-4c48-9b27-8f75ec5307bd",
      "name": "System Preparation",
      "type": "n8n-nodes-base.ssh",
      "position": [
        440,
        0
      ]
    },
    {
      "id": "e9df114a-a901-483a-a1f8-8664fdfeb688",
      "name": "Install Node.js & npm",
      "type": "n8n-nodes-base.ssh",
      "position": [
        660,
        0
      ]
    },
    {
      "id": "29ff40ce-a21d-4734-b3a7-97808734640f",
      "name": "Install MongoDB",
      "type": "n8n-nodes-base.ssh",
      "position": [
        880,
        0
      ]
    },
    {
      "id": "29ffdf78-1261-4014-82d8-df503855bd77",
      "name": "Install Git & GitHub CLI",
      "type": "n8n-nodes-base.ssh",
      "position": [
        1100,
        0
      ]
    },
    {
      "id": "a5525dae-7d94-4b11-b970-f77eff362c81",
      "name": "Install Development Tools",
      "type": "n8n-nodes-base.ssh",
      "position": [
        1320,
        0
      ]
    },
    {
      "id": "c77aa619-580a-426e-9810-d68d885d6c78",
      "name": "Create Dev User",
      "type": "n8n-nodes-base.ssh",
      "position": [
        1540,
        0
      ]
    },
    {
      "id": "b2604ff6-7fde-409e-99da-02a938c3aa00",
      "name": "Install Additional Tools",
      "type": "n8n-nodes-base.ssh",
      "position": [
        1760,
        0
      ]
    },
    {
      "id": "74607dbf-dae5-4fad-b3a6-27d6b508118e",
      "name": "Final Configuration",
      "type": "n8n-nodes-base.ssh",
      "position": [
        1980,
        0
      ]
    },
    {
      "id": "4f12469f-3045-4a24-a0bc-f60ad1f3c8ff",
      "name": "Setup Complete",
      "type": "n8n-nodes-base.set",
      "position": [
        2200,
        0
      ]
    },
    {
      "id": "9b9e73a5-ee17-4101-8480-ee6208e9ef39",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -30,
        -240
      ],
      "parameters": {
        "width": 160,
        "height": 400,
        "content": "Start workflow "
      }
    },
    {
      "id": "5ddce496-b4fc-466e-85bb-5f0a99ceed6b",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1290,
        -240
      ],
      "parameters": {
        "width": 160,
        "height": 400,
        "content": " Installs VS Code, Docker, Docker Compose, Postman, Nginx, Redis, and PostgreSQL"
      }
    },
    {
      "id": "61c05631-96fc-499a-91a6-a161200ab8ef",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1510,
        -240
      ],
      "parameters": {
        "width": 160,
        "height": 400,
        "content": "Creates a development user account"
      }
    },
    {
      "id": "98575397-0e35-4895-a844-1681d2f236bd",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1730,
        -240
      ],
      "parameters": {
        "width": 160,
        "height": 400,
        "content": "Installs package managers (npm, Yarn, pnpm), global npm packages, deployment tools, build tools, and security tools"
      }
    },
    {
      "id": "c8bb21d0-1dee-4c52-87ba-405b11aec972",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1950,
        -240
      ],
      "parameters": {
        "width": 160,
        "height": 400,
        "content": "Configures firewall, SSH keys, and environment variables template"
      }
    },
    {
      "id": "51859ab3-876d-4624-9ade-8880884844d6",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2170,
        -240
      ],
      "parameters": {
        "width": 160,
        "height": 400,
        "content": "Marks the completion of the setup process"
      }
    },
    {
      "id": "0b397e0e-7915-40df-9ace-0166af2af7ab",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        850,
        -240
      ],
      "parameters": {
        "width": 160,
        "height": 400,
        "content": "Installs MongoDB (v7.0 by default) with Compass & Shell"
      }
    },
    {
      "id": "8fb206ab-8781-404a-9b16-033167434879",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        630,
        -240
      ],
      "parameters": {
        "width": 160,
        "height": 400,
        "content": "Installs Node.js (v20 by default) with npm"
      }
    },
    {
      "id": "c6d8019d-713b-41a6-b1e4-8c6208ec9f6a",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        410,
        -240
      ],
      "parameters": {
        "width": 160,
        "height": 400,
        "content": "Prepares the system for installation"
      }
    },
    {
      "id": "bc912ffd-b6e1-40d7-b0e6-78a6c5c287cf",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        190,
        -240
      ],
      "parameters": {
        "width": 160,
        "height": 400,
        "content": "Configures server host, user, password, setup type, Node.js version, MongoDB version, username, and user password"
      }
    },
    {
      "id": "702c6303-c249-4be8-b2e7-a8659aeaf916",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1070,
        -240
      ],
      "parameters": {
        "width": 160,
        "height": 400,
        "content": "Installs Git and GitHub CLI"
      }
    }
  ],
  "connections": {
    "Start": {
      "main": [
        [
          {
            "node": "Set Parameters",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Parameters": {
      "main": [
        [
          {
            "node": "System Preparation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Dev User": {
      "main": [
        [
          {
            "node": "Install Additional Tools",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Install MongoDB": {
      "main": [
        [
          {
            "node": "Install Git & GitHub CLI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "System Preparation": {
      "main": [
        [
          {
            "node": "Install Node.js & npm",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Final Configuration": {
      "main": [
        [
          {
            "node": "Setup Complete",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Install Node.js & npm": {
      "main": [
        [
          {
            "node": "Install MongoDB",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Install Additional Tools": {
      "main": [
        [
          {
            "node": "Final Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Install Git & GitHub CLI": {
      "main": [
        [
          {
            "node": "Install Development Tools",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Install Development Tools": {
      "main": [
        [
          {
            "node": "Create Dev User",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}