Posts

Showing posts with the label Code16challenge

Code16challenge - Azure web app using 16 lines of code

Image
While preparing for the Azure exam, I've noticed a supportive initiative on Facebook to help a little girl collect money for her surgery.  A number of my colleagues have already participated in that action, so I've decided to join as well. The challenge was to prepare any "program" staying in 16 lines codes, sharing it publicly on the FB, and add the #code16challenge hashtag. Playing a bit recently with Azure, I've decided to use this opportunity to create a small web app   (nodej.js/npm), set up all required Azure resources ,   and deploy the app to the cloud  - all in 16 lines of code. web= "code16challenge-siepomaga" asp= "wa2021asp" rg= "code16challengeRg" npm init -y  # Webapp setup echo  $(jq '.scripts.start="node index.js"' package.json)  > package.json echo \ "const http = require('http');\  http.createServer((req, res) => {\   res.writeHead(200,...