MEAN is a development stack for building and hosting web applications. Recall that MEAN is an acronym for its component parts: MongoDB, Express, AngularJS, and Node.js.
To see the MEAN stack in action, you created an Ubuntu virtual machine on Azure and installed the MEAN stack on it for web development.
With your MEAN stack in place, you created a basic book inventory web application. To summarize, the web application uses:
- MongoDB to store information about books.
- Express to route each HTTP request to the appropriate handler.
- AngularJS to connect the user interface with the program's business logic.
- Node.js to host the server-side application.
You can find the source code for the web application on GitHub.
The sandbox automatically cleans up your resources when you're finished with this module.
When you're working in your own subscription, it's a good idea at the end of a project to identify whether you still need the resources you created. Resources left running can cost you money. You can delete resources individually or delete the resource group to delete the entire set of resources.
In this module, you got a sense of how the MEAN stack works and brought up a basic web application that uses it. The next step is to start building applications that solve your own business challenges. You can then deploy your applications to Azure and use automated processes to monitor your applications and make them better. Here are some resources where you can learn more.
Learn more about MEAN stack application development
Learn more about the MEAN stack components and other Node.js packages you used in this module.
Learn about the Azure Web Apps service
In this module, you used a VM to host your web application. A VM gives you more control over the environment and might best fit how you currently manage your deployments. But there are other ways to host web applications. Check out Create a Node.js web app in Azure to learn how to use the Azure Web Apps service to simplify your deployments.
Automate your deployments
Also in this module, you used a mainly manual process to configure your VM and run your app. As your process matures, you can use a more automated process to deploy changes more quickly and more reliably. Check out Create a CI/CD pipeline for Node.js with the Azure DevOps Project to learn how to use Azure DevOps to deploy your Node.js application as part of a continuous integration and continuous delivery (CI/CD) pipeline.