Your First Microservice

Data Management you own this product

This project is part of the liveProject series Build Your First Microservice
Docker basics • MongoDB basics
skills learned
Set up a MongoDB database with Docker • run multiple services using Docker Compose • use HTTPfor communication between microservices • download files from Azure storage • upload files to Azure storage
Haider Malik
1 week · 6-8 hours per week · BEGINNER

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!


5, 10 or 20 seats+ for your team - learn more

Look inside

Musify, a SaaS company that helps startups bring their products to market, has a client who wants to launch a Spotify-inspired app that will connect music artists with their fans. Musify has already built the first microservice for the app in Node.js and deployed it on an Azure container registry. As a software engineer at Musify, your job is to create a microservice for storing audio files on Azure and enable communication between microservices. You’ll create an Azure Storage account, upload an audio file to the account, and write the HTTP request handler for downloading and streaming the file. You’ll use Docker Compose to run and manage both microservices, and you’ll call one microservice from within the other using the HTTP package. Lastly, you’ll connect the first microservice to a MongoDB database to store the song records. When you’re done, you’ll have the skills and knowledge to build and manage multiple microservices and connect databases to your application using Docker and Docker Compose.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

Haider Malik
Haider Malik is a senior full-stack web developer and instructor passionate about helping others learn web development. He’s created over 20 web development courses on Udemy, and his student roster is almost 50,000 strong.


This liveProject is for Node.js developers who are interested in learning how to use Docker Compose to run multiple microservices in a development environment and connect a microservice with a database. To begin this liveProject, you’ll need to be familiar with the following:

  • Docker Compose
  • MongoDB
  • Mongoose
  • Run a microservice running as a Docker container

you will learn

In this liveProject, you’ll learn how to use Docker Compose to run multiple microservices in a development environment and connect a microservice with a database:

  • Set up Docker Compose to run and build multiple microservices in development
  • Add file storage to your application
  • Connect a MongoDB database with CRUD REST APIs in Node.js
  • Test microservices with Docker Compose
  • Download a file from Azure storage
  • Use Azure Blob Storage
  • Use HTTP for communication between microservices
  • Install MongoDB with Docker
  • Connect MongoDB with Node.js using Docker Compose
  • Add dependencies between services
  • Run individual microservices
  • Run all microservices with Docker Compose
  • Set up environment variables with Docker
  • Create models and schemas in Mongoose
  • Make queries for documents
  • Test MongoDB using the MongoDB Compass GUI application
  • Perform CRUD operations with MongoDB


You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.

choose your plan


only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Data Management project for free