Create a modular, extendable and scalable web application using a MEAN stack, which comprises a MongoDB database, an Express web framework, an AngularJS front-end framework and a Node.js runtime. 

Begin with a locally hosted MEAN starter, create your own managed database as a service (DBaaS) and deploy the app to IBM Cloud™. Monitor your application, and scale it to meet performance demands. 

This tutorial uses the following IBM Cloud services:

  • Compose for MongoDB
  • SDK for Node.js

Estimated time: 45 minutes

Number of steps: 5

MEAN Architecture

What you’ll accomplish:

In this project, you will:

  • Create and run your application locally using a local MongoDB database.
  • Build your own managed DBaaS to deploy your MongoDB to the cloud.
  • Deploy your Node.js application to the cloud and connect your application to your DBaaS.
  • Monitor your application’s performance and identify availability issues.
  • Scale MongoDB resources for just-in-time performance boosts to accommodate usage spikes.

What you’ll need before starting:

Build a web application using a MEAN stack

Take a scalable, flexible and modular application from a local database to the cloud in a few simple steps.

Additional offerings

Deploy a web app with security-rich and extended availability

Take the tutorial to see how to better secure a web application across multiple regions.

Create, better secure and manage REST APIs

With Loopback, you can quickly create REST APIs that connect devices and browsers to data and services. Take the tutorial to learn how.

Deploy WordPress with LAMP stack

LAMP underpins the WordPress content management system. Take the tutorial to see how they come together.