Challenge 02 - Migrating from MongoDB to Azure Document DB

< Previous Challenge - Home

Prerequisites

Make sure you have successfully completed Challenges 0 and 1 before starting this challenge.

Introduction

In this challenge you will use the Azure DocumentDB Migration extension in Visual Studio Code to migrate the data from source database to Azure DocumentDB.

Description

If you were able to successfully connect to your local MongoDB source database in Challenge 1, you should be ready to get started!

If the migration was successful, you will then need to update the connection string in your .env file to the one for Azure DocumentDB. Once you do that, you will need to stop the MFlix application (hint: CTRL+C in the terminal window where the app is running) and restart it (hint: npm start). Open the browser with http://localhost:5001 to see if it’s working.

Success Criteria

To complete this challenge successfully, you should be able to:

Learning Resources