This is a sample application used to demonstrate the possibility of developing Node.js apps using Visual Studio Code on Linux, using Azure services within those apps, and deploying those apps as Azure Web Apps.
Demonstrated on Microsoft's Open Cloud BBQ event on Jun 18th, 2015 in Zagreb, Croatia.
- Download Visual Studio Code
- Install node.js and npm
npm install -g express express-generator
- Clone this Git repository
git clone [email protected]:nikolaplejic/azure-opencloudbbq.git
- Within the cloned folder, run
npm install
to pull the dependencies - Open Visual Studio Code with the cloned repo as the working directory
cd azure-opencloudbbq && Code .
cp config.example.js config.js
- Open & edit DocumentDB connection strings in config.js
- Run / debug / code!
- deployment: Web Apps
- storage: DocumentDB
models/documentDBUtils.js
-- a collection of helper functions for DocumentDB found in the tutorial linked above