Deploying full-stack JavaScript applications to the sandbox: Part 1
JavaScript application deployment

Part 1: Deploying full-stack JavaScript applications to the Developer Sandbox for Red Hat OpenShift

Red Hat OpenShift is a Kubernetes distribution that makes it easy to deploy and scale applications in the cloud. In this hands-on lab, you will learn how to deploy a full-stack JavaScript application in an OpenShift cluster (Figure 1).

Figure 1: Node.js is easy to install and work with in the Developer Sandbox

Starting from source code, you will take an application that runs locally and deploy it in the Developer Sandbox for Red Hat OpenShift. This lab consists of three parts:

  • Part 1: Set up your environment and run the application locally, then build a container for the front end and deploy it to OpenShift.
  • Part 2: Deploy the back end and connect it to the front end using environment variables, then add a health check.
  • Part 3: Deploy a database and connect everything together, then deploy a new microservice from an existing container.

Note: See the DevNation Tech Talk OpenShift Developer Sandbox: Kicking the tires for a video guide to this deployment.