The steps used in this tutorial create a set of secure-by-default resources that include App Service and Azure Cosmos DB for MongoDB. In this step, you create the Azure resources. env and populate the DATABASE_URL value with your MongoDB URL (for example mongodb://localhost:27017/). Install the package dependencies by running npm install.If you want to run the application locally, do the following: To follow along with this tutorial, clone or download the sample application from the repository. If you don't have an Azure account, you can create one for free. You'll also need an Azure account with an active subscription. This article assumes you're already familiar with Node.js development and have Node and MongoDB installed locally. When you're finished, you'll have an Express.js app running on Azure App Service on Linux. This tutorial shows how to create a secure Node.js app in Azure App Service that's connected to a Azure Cosmos DB for MongoDB database. Azure App Service provides a highly scalable, self-patching web hosting service using the Linux operating system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |