n8n-nodes-couchbase
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "n8n-nodes-couchbase", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "N8N Node to add, get, update and delete data to couchbase", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
{ | ||
"name": "n8n-nodes-couchbase", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "N8N Node to add, get, update and delete data to couchbase", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1,47 +0,74 @@ | ||
![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png) | ||
N8N Nodes Couchbase | ||
# n8n-nodes-starter | ||
The Couchbase node allows you to automate documents in Couchbase. n8n has built-in support for a wide range of Couchbase features, including executing, inserting, updating, removing, and finding documents. n8n is a free and source-available workflow automation platform. | ||
This repo contains example nodes to help you get started building your own custom integrations for [n8n](n8n.io). It includes the node linter and other dependencies. | ||
Use this connector | ||
To make your custom node available to the community, you must create it as an npm package, and [submit it to the npm registry](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry). | ||
To install a community node in your n8n instance : | ||
## Prerequisites | ||
• Go to Settings > Community Nodes : | ||
• Select 'Install a community node' | ||
• Type in "n8n-nodes-couchbase" and hit Install | ||
For more information on installing community nodes, visit the Community nodes docs page. | ||
You need the following installed on your development machine: | ||
Features | ||
* [git](https://git-scm.com/downloads) | ||
* 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](https://github.com/nvm-sh/nvm). For Windows users, refer to Microsoft's guide to [Install NodeJS on Windows](https://docs.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows). | ||
* Install n8n with: | ||
``` | ||
npm install n8n -g | ||
``` | ||
* Recommended: follow n8n's guide to [set up your development environment](https://docs.n8n.io/integrations/creating-nodes/build/node-development-environment/). | ||
• Insert documents | ||
• Update documents | ||
• Find documents | ||
• Remove documents | ||
Couchbase Credentials | ||
Create a Couchbase account and you will need to input the following: | ||
## Using this starter | ||
• Connection String | ||
These are the basic steps for working with the starter. For detailed guidance on creating and publishing nodes, refer to the [documentation](https://docs.n8n.io/integrations/creating-nodes/). | ||
1. Couchbase Server, you can use this connection string couchbase://127.0.0.1/?connectionTimeout=1200 | ||
2. Couchbase Capella, you can navigate to the tab named Connect and copy the connection string. | ||
1. [Generate a new repository](https://github.com/n8n-io/n8n-nodes-starter/generate) 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](https://docs.n8n.io/integrations/creating-nodes/test/run-node-locally/) for guidance. | ||
9. Replace this README with documentation for your node. Use the [README_TEMPLATE](README_TEMPLATE.md) to get started. | ||
10. Update the LICENSE file to use your details. | ||
11. [Publish](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry) your package to npm. | ||
• Username | ||
• Password | ||
• Bucket | ||
• Scope | ||
• Collection | ||
## More information | ||
Those credentials are needed in order for you to connect to Couchbase. | ||
Refer to our [documentation on creating nodes](https://docs.n8n.io/integrations/creating-nodes/) for detailed information on building your own nodes. | ||
Example Usage | ||
## License | ||
This workflow allows you to insert a document into a Couchbase. This example usage workflow would use the following three nodes. - Start - Set - Couchbase | ||
[MIT](https://github.com/n8n-io/n8n-nodes-starter/blob/master/LICENSE.md) | ||
The final workflow should look like the following image. | ||
<img width="468" alt="image" src="https://github.com/maruakinu/n8n-nodes-couchbase/assets/100325935/b7947dde-af19-4b40-9c85-b1c5716fa332"> | ||
1. Start node | ||
The start node exists by default when you create a new workflow. | ||
2. Set node | ||
1. Click on the Add Value button and select 'String' from the dropdown list. | ||
2. Enter the Property Name of the Value in the Name field. | ||
3. Enter the value for the name in the Value field. | ||
4. Click on Execute Node to run the node. | ||
3. Couchbase node (Inserting Data) | ||
1. Select 'Insert' from the Operation dropdown list. | ||
2. You will have to enter credentials for the Couchbase. Click the Couchbase Node and enter your credentials. | ||
3. At the bottom, enter the value that you want to insert in Couchbase. | ||
4. Click on Execute Node to run the node. | ||
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75
234454