Tags » Nodejs

NodeJS in Visual Studio 2017

Hi friends, it has been a while since my last post. But I am back with a small introduction of NodeJS for VS 2017.

A lot of .Net developers (me included) we don’t want to give up using VS for other non .Net types of projects. 391 more words

JavaScript

Exploring GitHub Docker Hub and OCCS Part 4

In my previous post in this series I covered linking GitHub and DockerHub and configuring the environment such that a build of a Docker image was triggered on updates to GitHub. 1,516 more words

Exploring GitHub, DockerHub and OCCS Part 2

In my previous post I detailed how I Dockerised the MedRec app. In this post I will show how I added MongoDB and defined a stack using Docker-Compose. 820 more words

IaaS

Exploring GitHub Docker Hub and OCCS Part 1

In my previous post in this series I provided an Introduction describing the high level steps I planned to take.
In this post I will walk through the detailed steps to Dockerise the MedRec application. 700 more words

Oracle Public Cloud

Exploring GitHub, DockerHub and OCCS - Introduction

As part of our MedRec API playpen initiative we had already developed some REST API’s using Node.js and leveraged MongoDB running on Oracle IaaS as the persistence layer. 602 more words

Oracle Public Cloud

Node fs module

Using fs module:

var fs = require(‘fs’);

Checking if file exists:

fs.exists(filePath,funcion(exists){ … })

Reading data from a file:

fs.createReadStream(filePath)     // can to chained pipe(res)

NodeJs