Sign in

Bawantha Rathnayaka

In this article I will show how to continuously deploy your node express app on Heroku cloud platform using Travis CI.

What is Travis CI?

“Travis CI is a hosted, distributed continuous integration service used to build and test software projects…” — Wikipedia

What will we need?

  1. GitHub Account: To push the code and trigger the Travis CI.
  2. Travis CI Account: To run the tests and build the code for production
  3. Heroku Account: To deploy the app


1. Create Travis config file

Create a file named ‘.travis.yml’ in the root folder. Submit this file to GitHub as well

language: node_js
- "10"
sudo: false

- master


In this article I will show how to host React web app on Azure cloud platform. We will create new test React web app from scratch, will build it, then will create in Azure new Resource group and App service and after that will transfer our React web app there. Before to start ensure that you have working Azure account with valid subscription.

First of all we need to build our React application. run the following command in your terminal

npm run build

It will create ready for deployment build subfolder and will copy web app files there.

Once React…

In this article i will show you how to dockerize a nodejs application

Part 1: Creating Node.js application

Usually, when I start a new Node.js project I use npm to generate my initial project.

npm init

When I was asked for the details of the application (name, version, etc.), just enter default values.

Then, Npm will create a package.json that will hold the dependencies of the app. Let’s add the Express Framework as the first dependency

$ npm install express --save

The file should look like this now:

"name": "helloworld",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.15.2" …

Few days ago, I was looking for an easy way to setup openMRS server. then i found the openMRS SDK.

And then the first thing i do is installed ubuntu to my personal laptop.

you can install those application by visting the links below

After installing those applications, follow the 5 steps below

  1. Create a distribution server.
  2. Select Reference Application version.
  3. Set debug port.
  4. Connect with database.
  5. Add a module as watched in the selected server.

The first thing you need to do is…

Today i have come up with topic of deploying the react application on GitHub Pages by using the concept of Github Actions to define CI CD in GitHub.

From your project folder, start by creating a new directory to hold the.yml file. This file will hold the configuration for our GitHub Actions. You have to create this file using this path.

We’re going to be using the command line on your local machine to build your first React app. To do this, you’re going to have to install Nodejs, and a few libraries, if you don’t already have them.


  • First off, the perpetually-popular Nodejs!

Understand React and JavaScript frameworks

React is a JavaScript library for creating user interfaces. It seeks to make complex web applications less time-consuming to build, easier to maintain, and more performant. It’s one of the most popular JavaScript web frameworks in use today, and has often led the field in performance and adoption of new design patterns.

React also has a huge and active worldwide community and support from Facebook, making it a reliable choice for developers wondering where to invest their time.

In this course we’ll learn about the basics of writing an application in React, and create a simple application that allows users…

For JavaScript developers, is a treasure!

You can find more than 1 Million packages there. ( Yeah, I agree all of them are not useful 😉 )

We can install/download Packages like react, express, lodash etc into our projects very easily from the npmjs package repository with just one command.
Such as -

Bawantha Rathnayaka

Blogger | FullStack Developer 💻 | Undergraduate 🎓 |

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store