kuswandanu / get-started-node

Sample and tutorial to help you get started with Express, REST API and a database.

Home Page:http://console.ng.bluemix.net/docs/runtimes/nodejs/getting-started.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node.js getting started application

The Getting Started tutorial for Node.js uses this sample application to provide you with a sample workflow for working with any Node.js app on IBM Cloud or in IBM Cloud Private; you set up a development environment, deploy an app locally and on the cloud, and then integrate a IBM Cloud database service in your app.

The Node.js app uses Express Framework and Cloudant noSQL DB service to add information to a database and then return information from a database to the UI. To learn more about how the app connects to Cloudant, see the Cloudant library for Node.js.

Gif of the sample app contains a title that says, Welcome, a prompt asking the user to enter their name, and a list of the database contents which are the names Joe, Jane, and Bob. The user enters the name, Mary and the screen refreshes to display, Hello, Mary, I've added you to the database. The database contents listed are now Mary, Joe, Jane, and Bob.

The following steps are the general procedure to set up and deploy your app to IBM Cloud. See more detailed instructions in the Getting started tutorial for Node.js.

The starter application for IBM Cloud Private guides you through a similar process. However, instead of hosting both your service and application in the same cloud environment, you use a user-provided service. This guide shows you how to deploy your application to IBM Cloud Private and bind it to a Cloudant Database in IBM Cloud. For the complete procedure, see Working with user-provided services and the Node.js starter app.

Before you begin

You'll need a IBM Cloud account, Git, Cloud Foundry CLI, and Node installed. If you use IBM Cloud Private, you need access to the IBM Cloud Private Cloud Foundry environment.

About

Sample and tutorial to help you get started with Express, REST API and a database.

http://console.ng.bluemix.net/docs/runtimes/nodejs/getting-started.html

License:Apache License 2.0


Languages

Language:JavaScript 58.5%Language:HTML 41.0%Language:CSS 0.5%