Deploying a React Web App with IBM Cloud Kubernetes Service

Share this post:

Quickly create and deploy a MERN stack in a Kubernetes container

The IBM NodeJS team has built a starter for developers to quickly create and deploy a MERN stack in a Kubernetes container.

You may ask: “What is a MERN stack?” MERN stands for MongoDB, Express, React, and NodeJS. Our MERN starter is a working application with a React front-end that makes HTTP requests to an Express/Node.js back-end, where sessions are persisted using MongoDB.


MongoDB is a free, open-source, NoSQL database program. It stores data in JSON-like documents and does not rely on a schema like relational databases do. We like it because it’s flexible, easy to work with, and free!

React is a JavaScript library used to build user interfaces. It is not a framework like Angular—it’s a library, which means it’s very lightweight and is great for building UI components. In fact, one of the main benefits of React is that it enables component-driven development. A UI can be broken down into separate components that are reusable and easier to debug.

IBM Cloud Kubernetes Service

We recommend deploying the MERN application using the IBM Cloud Kubernetes Service, which provides a native Kubernetes experience. Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications. The IBM Cloud Kubernetes Service is highly secure, easy to use, and fully manages your Kubernetes clusters, allowing the developer to focus on the fun stuff—building applications.

We also suggest using minikube to create a local cluster for testing.

Get the starter app

Check out the open-sourced MERN-app repository on github for more information and detailed instructions. The repository has code to create a web app that is pre-configured with the MERN stack.


Swift @ IBM - Development

More Community stories
April 11, 2019

Permanent Redirect to from

Starting on April 27, 2019, we will be turning on permanent redirects from to All of the same functionality that existed on is still available in

Continue reading

April 3, 2019

Export Your Tagged Usage Data Within the Enhanced IBM Cloud

We're happy to announce that tags now appear in the usage export on the IBM Cloud platform. When users add tags to their resources within the platform, they will appear in the usage CSV export on the usage tab.

Continue reading

March 8, 2019

IBM Alert Notification: URL Changes

URLs are changing for IBM Alert Notification. Although the existing URLs for Alert Notification will remain in place for the foreseeable future, we advise customers at this time to adopt the new URLs at their earliest convenience.

Continue reading