Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • View All Red Hat Products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat Developer Sandbox

      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Secure Development & Architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • Product Documentation
    • API Catalog
    • Legacy Documentation
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

A Node.js success story at the electrical training ALLIANCE

September 12, 2023
Michael Dawson Stephen W. Boyd
Related topics:
ContainersNode.js
Related products:
Red Hat build of Node.jsRed Hat OpenShift

Share:

    Red Hat and customers often work together as partners to help get an application across the finish line. In this article, Stephen (electrical training ALLIANCE) and Michael (Red Hat) share the story of one such collaboration that led to success with Node.js in production.

    The application

    The electrical training ALLIANCE (ETA) has the mission to develop educational materials for electrical workers. They do this by developing national standards for the education and training of electrical workers, creating standardized training curricula, and assisting in establishing local educational programs. A key part of this work is to develop and provide an application for the 275 training programs that will assist in the day-to-day operations supporting apprentices within the program from application through to graduation.

    Why Node.js?

    Node.js was a good fit for the training program application due to its natural affinity with the front end and because it allowed faster development and rollout along with streamlined user acceptance testing. The Red Hat build of Node.js was a choice that fit into ETA's deployment strategy as it is Red Hat-maintained, supported, container ready, and runs well in Red Hat OpenShift.  

    The journey

    Here we will summarize the process from initial development to deployment.

    Step 1: The CI/CD environment

    Working with Red Hat Consulting, the electrical training ALLIANCE settled on two OpenShift Dedicated clusters: one for non-production and one for production content. Tekton (openshift-pipelines) and Cockroach Cloud were chosen for the continuous integration and continuous deployment (CI/CD) platforms and for data persistence. Application images utilize Red Hat Quay and Red Hat containers for end-to-end Red Hat support and patching. These components are shown in Figure 1.

    ETA CI/CD infrastucture based on OpenShift
    Figure 1: Infrastructure components include Tekton and Cockroach Cloud for CI/CD and data persistence and Red Hat Quay and containers for patching and support.

    Step 2: Version 1 of the application using nginx and Node.js

    The project required a front-end and matching back-end for front-end (BFF) to help manage access to a number of existing services written in Quarkus. This is where Node.js came in as a fast and efficient stack on which to build the BFF. Conventional architecture led us to utilize an nginx container for reverse proxy and static asset hosting, along with a Node.js middleware container handling Red Hat OpenShift API Management, authentication, and authorization tasks. This architecture is shown in Figure 2.

    ETA application V1
    Figure 2: Version 1 of the application with nginx and Node.js.

    The initial version of the application exposed a key challenge due to how nginx must be built as an image (specifically the DNS resolution). There was no way to reuse the image between the non-production and production clusters described earlier, resulting in duplicate build pipelines with no guarantee that a build would succeed in production. This led the electrical training ALLIANCE to explore better options, resulting in version 2 of the application.

    Step 3: Version 2 of the application using Node.js and Next.js

    Since OpenShift provides load balancing, the electrical training ALLIANCE chose to remove nginx and migrate to a Next.js application backed by the Red Hat Node.js container. This allows for proper CI/CD where the image is built once in lower namespaces, tested, and promoted through to the production cluster with confidence.

    Looking at existing documentation, however, it was not clear how to use Next.js with the Red Hat Node.js container images. After reaching out for help, the electrical training ALLIANCE was pleased to discover that Red Hat had a dedicated Node.js team who was happy to jump in and help figure this out. The end result was a solution using a two-stage Dockerfile, which you can read more about in How to deploy Next.js applications to Red Hat OpenShift. This work resulted in the architecture shown in Figure 3.

    ETA Node.js application V2
    Figure 3: Version 2 of the Node.js application with Next.js.

    Step 4: Production success

    The next step was production deployment, which is a great success with the applications already having 4,000 active users and potentially growing to 40,000 active users each year as it rolls out across all training locations.

    In addition to supporting the initial applications, the Node.js solution was built as a pattern that can be reused for new products and the electrical training ALLIANCE is planning on rolling out many more.

    So far, it has been used for the development and production of two products, which include:

    • Training Administration System (TAS): This product has a number of functions, including:
      • First year online apprenticeship: This allows the electrical training ALLIANCE, partnered with ProTech Skills Institute, to deliver the first year of the apprenticeship's classroom training online. TAS manages the application process for the program, as well as the day-to-day management of the apprentices.
      • Pre-apprenticeship: This extends pre-apprenticeship to participating high school and trade schools.
      • VEEP - Veterans to Electrician: The VEEP program will utilize TAS for the same purposes while supporting the path to apprenticeship from our veterans.
    • Curriculum analysis and mapping utility: This product, developed for internal use, allows the electrical training ALLIANCE to map all of the curriculum against various industry requirements and evaluations to ensure the curriculum provided meets the needs of the industry.

    Learn more

    To learn more about the electrical training ALLIANCE, check out electricaltrainingalliance.org. If you want to learn more about what Red Hat is up to on the Node.js front, visit our Node.js page. 

    Last updated: September 19, 2023

    Related Posts

    • Optimize Node.js images with the UBI 8 Node.js minimal image

    • How to use OpenTelemetry to trace Node.js applications

    • Node.js serverless functions on Red Hat OpenShift, Part 1: Logging

    • How to add libraries to a Node.js container with S2I

    • Node.js Reference Architecture, Part 10: Accessibility

    Recent Posts

    • Autoscaling vLLM with OpenShift AI

    • Filtering packets from anywhere in the networking stack

    • PostGIS: A powerful geospatial extension for PostgreSQL

    • Kafka Monthly Digest: September 2025

    • A more secure way to handle secrets in OpenShift

    What’s up next?

    10 tips for nodejs cheat sheet tile card

    Run secure and efficient Node.js applications on OpenShift and other container environments. This cheat sheet rounds up 10 tips to help you learn best practices and get up to speed quickly.

    Get the cheat sheet
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer Tools
    • Interactive Tutorials
    • API Catalog

    Quicklinks

    • Learning Resources
    • E-books
    • Cheat Sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site Status Dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2025 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue