Deploying a React Web App with IBM Cloud Kubernetes Service
5 min read
By: Jennie Oliver
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!
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