Welcome to the Developer Sandbox for Red Hat OpenShift

Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new sandbox environments for Red Hat OpenShift and CodeReady Workspaces. Try your hand at the technologies with our library of activities as well.

JavaScript Activity
JavaScript application deployment

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

This hands-on lab guides you through each stage of deploying a full-stack JavaScript application in a Red Hat OpenShift cluster using the Developer Sandbox for Red Hat OpenShift:

  • 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.

The demo application for this lab is a URL shortener and redirection service. It has a React front end and connects to a Node.js back end. In this part of the lab, you will deploy the Node.js back end using the OpenShift Source-to-Image (S2I) toolkit, then use environment variables to connect the back end to your front end. Note that this lab assumes you have already completed Part 1.

 

Are you ready to move onto Part 3 of this activity series?

In Part 3, you will be guided through each step of deploying a full-stack JavaScript application in a Red Hat OpenShift cluster using the Developer Sandbox for Red Hat OpenShift