Configuring mLab

As a MongoDB cloud database service, mLab is a third-party service that runs on cloud providers. It has also collaborated with PaaS providers:

mLab home page

mLab provides a free sandbox version up to 0.5 GB, which is enough for our order-api application. Go to the mLab website (https://mlab.com/) and create a new account.

After you create the account, create a new database for Google Cloud Platform, called order-api:

mLab database for order-api

Once you've created the database, create a new user for this database, called ...

Get Hands-On RESTful Web Services with TypeScript 3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.