Sample microservice for exposing database tables via REST using node.js express.js in a docker container

I have started learning node.js: The first result is this github repository where you can find a basic project of a rest web service that exposes oracle data. How to run the service forever (with autorestart on failures)? I tested it both with a docker container and the pm2 tool

February 9, 2017 · 1 min · 50 words · Matteo Redaelli

Installing Nodejs oracledb module on Suse SLES 11

For a quick tutorial about installing Oracle module for Nodejs (oracledb) on Suse SLES, follow the info at Node-OracleDB Installation but remember to use the gcc compiler release 5.0``` export ORACLE_HOME=/home/oracle/instantclient_12_1 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME export TNS_ADMIN=$ORACLE_HOME export OCI_LIBRARY_PATH=$ORACLE_HOME export OCI_LIB_DIR=$ORACLE_HOME export OCI_INC_DIR=$ORACLE_HOME/sdk/include CC=gcc-5 CXX=g++-5 npm install oracledb ```

February 11, 2016 · 1 min · 47 words · Matteo Redaelli