Sample code for working with the Azure Cosmos DB using the new JavaScript API 2 for Node.js + ES 2017 async / await functionality.
To run the app, open index.js and set the endpoint and authKey values to match your Cosmos DB credentials (arond line 153).
For instructions, see the article: Node.js and Cloud NoSQL Databases: Azure Cosmos DB
Released under the MIT license - see the LICENSE file for details.
Helpful links:
- Quickstart tutorial for complete todo list
- Source code of the new Microsoft Azure Cosmos JavaScript SDK
- Info about Async / Await in JavaScript
Developed by Andreas Jakl