Skip to content

Simple DB2 / node.js demonstration for IBM Bluemix, track visitor by IP, lookup geolocation and store in DB2

License

Notifications You must be signed in to change notification settings

data-henrik/db2visitors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bluemix demo "db2visitors"

Simple DB2 / node.js demonstration for IBM Bluemix, track visitor by IP, lookup geolocation and store in IBM DB2.

Overview

This is a simple demo combining DB2 and node.js on IBM Bluemix to track visitors of a website by IP address, to lookup the geolocation for the IP address and to store the information in a IBM DB2 database. The application can also be run locally with a node runtime environment. It needs a private file db2cred.json to hold login information for a DB2 database. The format of that file is described in the first blog article linked below.

Most of the code is explained in the following blog articles:

Prerequisites

None

Steps to deploy NODE-RED on Bluemix

Step 1: If you don't already have a Bluemix account, go to [http://www.bluemix.net] (http://www.bluemix.net) and sign up (it's free).

Step 2: Log into your bluemix account.

Step 3: Navigate to the Bluemix catalog.

Step 4-x: About to come

Done

License

See LICENSE file.

Find more information

Visit Henrik''s blog and follow him on Twitter: @data_henrik

About

Simple DB2 / node.js demonstration for IBM Bluemix, track visitor by IP, lookup geolocation and store in DB2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published