{"id":13289025,"url":"https://github.com/Azure-Samples/cosmos-db-nosql-nodejs-quickstart","last_synced_at":"2025-03-10T06:33:55.930Z","repository":{"id":213417149,"uuid":"731255854","full_name":"Azure-Samples/cosmos-db-nosql-nodejs-quickstart","owner":"Azure-Samples","description":"Quickstart application template for Azure Cosmos DB for NoSQL and JavaScript","archived":false,"fork":false,"pushed_at":"2024-10-18T14:27:47.000Z","size":178,"stargazers_count":3,"open_issues_count":1,"forks_count":7,"subscribers_count":22,"default_branch":"main","last_synced_at":"2024-10-19T13:28:02.689Z","etag":null,"topics":["azd-templates","azure","azure-dev","cosmos-db","javascript","nodejs"],"latest_commit_sha":null,"homepage":"https://learn.microsoft.com/azure/cosmos-db/nosql/quickstart-nodejs","language":"Bicep","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Azure-Samples.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-13T17:11:50.000Z","updated_at":"2024-10-18T14:27:51.000Z","dependencies_parsed_at":"2024-08-01T00:13:39.744Z","dependency_job_id":"5f0cfc10-4bd7-4ffe-b94b-34ff469264cb","html_url":"https://github.com/Azure-Samples/cosmos-db-nosql-nodejs-quickstart","commit_stats":null,"previous_names":["azure-samples/cosmos-db-nosql-nodejs-quickstart"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure-Samples%2Fcosmos-db-nosql-nodejs-quickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure-Samples%2Fcosmos-db-nosql-nodejs-quickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure-Samples%2Fcosmos-db-nosql-nodejs-quickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure-Samples%2Fcosmos-db-nosql-nodejs-quickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Azure-Samples","download_url":"https://codeload.github.com/Azure-Samples/cosmos-db-nosql-nodejs-quickstart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242805643,"owners_count":20187996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azd-templates","azure","azure-dev","cosmos-db","javascript","nodejs"],"created_at":"2024-07-29T17:00:18.122Z","updated_at":"2025-03-10T06:33:55.922Z","avatar_url":"https://github.com/Azure-Samples.png","language":"Bicep","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n---\npage_type: sample\nname: \"Quickstart: Azure Cosmos DB for NoSQL and Azure SDK for Node.js\"\ndescription: This is a simple Express web application to illustrate common basic usage of Azure Cosmos DB for NoSQL and the Azure SDK for Node.js.\nurlFragment: template\nlanguages:\n- typescript\n- javascript\n- azdeveloper\nproducts:\n- azure-cosmos-db\n---\n--\u003e\n\n# Quickstart: Azure Cosmos DB for NoSQL - Azure SDK for Node.js\n\nThis is a simple Express web application to illustrate common basic usage of Azure Cosmos DB for NoSQL with the Azure SDK for Node.js.\n\n## Prerequisites\n\n- [Docker](https://www.docker.com/)\n- [Azure Developer CLI](https://aka.ms/azd-install)\n- [Node.js 22 or newer](https://nodejs.org/)\n\n## Quickstart\n\n1. Log in to Azure Developer CLI. *This is only required once per-install.*\n\n    ```bash\n    azd auth login\n    ```\n\n1. Initialize this template (`cosmos-db-nosql-nodejs-quickstart`) using `azd init`\n\n    ```bash\n    azd init --template cosmos-db-nosql-nodejs-quickstart\n    ```\n\n1. Ensure that **Docker** is running in your environment.\n\n1. Use `azd up` to provision your Azure infrastructure and deploy the web application to Azure.\n\n    ```bash\n    azd up\n    ```\n\n1. Observed the deployed web application\n\n    ![Screenshot of the deployed JavaScript web application.](assets/web-js.png)\n\n    ![Screenshot of the deployed TypeScript web application.](assets/web-ts.png)\n\n1. (Optionally) Run this web application locally in either the `src/js` or `src/ts` folders:\n\n    ```bash\n    npm install\n    npm run dev\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAzure-Samples%2Fcosmos-db-nosql-nodejs-quickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAzure-Samples%2Fcosmos-db-nosql-nodejs-quickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAzure-Samples%2Fcosmos-db-nosql-nodejs-quickstart/lists"}