October 30, 2018 | Written by: Jennie Oliver
Categorized: Community | Open Source | The New Builders
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!
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.