makeporngreatagain.pro
yeahporn.top
hd xxx

Todo application using NodeJS, Azure Cosmos DB & Azure App Service

260
  1. Create Cosmos DB, please refer this link for help in creation step of Cosmos
    Once your Cosmos DB is created, keep note of URI & Primary Key
  2. Create Azure App Service with runtime stack as NodeJS, please refer this link for help
  3. In Azure App Service make sure you have enable Local GIT deployment method, please refer this link for help. Keep a note of your deployment username and password
    Also, make note of git deployment URL
  4. Select the Cloud Shell button on the menu bar at the upper right in the Azure portal.
  5. Do a clone of our application repo
    git clone https://github.com/webmagicinformatica/azure-cosmos-db-sql-api-nodejs-todo-app
  6. Here, we will need to setup our code to work with Cosmos DB created in Step 1
    1. Change directory to source code directory
      cd /azure-cosmos-db-sql-api-nodejs-todo-app/src
    2. Edit config.js
      vim config.js
    3. Next edit two parameter in config.js file
    4. Now to application folder
      cd ..
  7. Now we are ready to deploy the application to Azure app service
    1. Commit the changes to cloud shell local git repo:
      git add .
      git commit -m "Ready to do our 1st deployment"
    2. Now add remote repo of our Azure app service which we copied in Step 3
      git remote add azure <deploymentLocalGitUrl-from-step-3>
    3. Lets push the code to our Azure App service
      git push azure master
    4. And we are done with deployment
  8. Lets check our application by visiting Azure app service URL

    Enter some pending task of yours 😛
  9. Check the data is entered in DB or not
Leave A Reply

Your email address will not be published.

baseofporn.com https://www.opoptube.com
Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.