Create a starter Node js application with a Cloudant DB service
Hello Friends in this article i am gone to share Create a starter Node js application with a Cloudant DB service with you..
Create a starter Node js application with a Cloudant DB Service IBM Cloud
- Create a starter Node.js application with a Cloudant DB service from a Node.js Cloudant Sample Git repository.
- Review the service environment variables.
Step 1: Creating a Cloudant DB Instance
- Log in to your IBM Cloud account.
- Click on Catalog tab & Search for Cloudant in the box provided and choose Cloudant as shown in the image below.
- A default name for your service instance is generated.
Step 2: Creating a Node.js application with a Cloudant DB service
- Go to IBM Cloud Dashboard page.
- Click the
3) In the Cloud Foundry page, scroll down to
4) Choose your region and enter a unique name for the application. In the image below, the application name is
NOTE: Wait until the application finishes staging and is running in IBM Cloud before you proceed to the next step. Look for the indication that your app is running.
5) Enable the continuous delivery for your Node.js application from the Overview tab, as shown in the following image.
6) In the
7) In the same window, go to the
8) A new window comes up where you can enter the name of the API key and description and click on
This generates a new IBM Cloud API key
9) Now click on C
10) A new page opens, showing a set of tool integrations (THINK, CODE, and DELIVER) that support development, deployment, and operations tasks, as shown in the following image.
11) Go to the previous tab and click
12) From the list of available applications, select the cloudant instance you created earlier and click on
13) A window comes up alerting Restaging Required. Click on
14) A message prompts you to restage the application so that it can use the Cloudant service. Click
15) You will now see the cloudant service listed as a connection.