0.2.0 • Published 2 years ago

@alejamp/n8n-nodes-coba v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Banner image

n8n-nodes-starter

This repo contains example nodes to help you get started building your own custom integrations for n8n. It includes the node linter and other dependencies.

To make your custom node available to the community, you must create it as an npm package, and submit it to the npm registry.

Prerequisites

You need the following installed on your development machine:

  • git
  • Node.js and npm. Minimum version Node 16. You can find instructions on how to install both using nvm (Node Version Manager) for Linux, Mac, and WSL here. For Windows users, refer to Microsoft's guide to Install NodeJS on Windows.
  • Install n8n with:
    	```
    	npm install n8n -g
    	```
  • Recommended: follow n8n's guide to set up your development environment.

Using this starter

These are the basic steps for working with the starter. For detailed guidance on creating and publishing nodes, refer to the documentation.

  1. Generate a new repository from this template repository.
  2. Clone your new repo:
    git clone https://github.com/<your organization>/<your-repo-name>.git
  3. Run npm i to install dependencies.
  4. Open the project in your editor.
  5. Browse the examples in /nodes and /credentials. Modify the examples, or replace them with your own nodes.
  6. Update the package.json to match your details.
  7. Run npm run lint to check for errors or npm run lintfix to automatically fix errors when possible.
  8. Test your node locally. Refer to Run your node locally for guidance.
  9. Replace this README with documentation for your node. Use the README_TEMPLATE to get started.
  10. Update the LICENSE file to use your details.
  11. Publish your package to npm.

More information

Refer to our documentation on creating nodes for detailed information on building your own nodes.

License

MIT

Start N8N

Security configuration using BASIC AUTH

export N8N_BASIC_AUTH_ACTIVE=true
export N8N_BASIC_AUTH_USER=admin
export N8N_BASIC_AUTH_PASSWORD=pass
export N8N_USER_MANAGEMENT_DISABLED=true

Security configuration without login

export N8N_BASIC_AUTH_ACTIVE=false
export N8N_USER_MANAGEMENT_DISABLED=false

Link this project to your n8n instance

First we need to link this project as a node global package using:

npm link

Now check if the link was successful:

npm list -g

This entry must appears: n8n-nodes-coba@0.1.0 -> ./../../../Users/ale/Workbook/n8n-nodes-coba

Then we need to link n8n to this project using:

cd /usr/local/lib/node_modules/n8n
npm link n8n-nodes-coba

Then n8n start -tunnel again

Link - shortcut

Just do this:

cd /usr/local/lib/node_modules/n8n
npm link /Users/ale/Workbook/n8n-nodes-coba