{"repo":"nestjs/azure-database","free":true,"listed":false,"github":"https://github.com/nestjs/azure-database","clone":"git clone https://github.com/nestjs/azure-database.git","description":"Azure CosmosDB Database module for Nest framework (node.js) ☁️","language":"TypeScript","stars":103,"topics":["nestjs","nodejs","typescript","javascript","nest","azure","cloud","database","cosmosdb"],"license":"MIT","category":"databases-storage","readme_excerpt":"[travis-image]: https://api.travis-ci.org/nestjs/nest.svg?branch=master [travis-url]: https://travis-ci.org/nestjs/nest [linux-image]: https://img.shields.io/travis/nestjs/nest/master.svg?label=linux [linux-url]: https://travis-ci.org/nestjs/nest A progressive Node.js framework for building efficient and scalable server-side applications. Description Azure Database (Table Storage, Cosmos DB - NoSQL) module for Nest framework (node.js) Disclaimer You are reading the documentation for version 3. If you are looking for version 2 documentation, click here. Please also note that version 2 is no longer maintained and will not receive any updates! Before Installation For Cosmos DB (NoSQL ONLY) 1. Create a Cosmos DB account and resource (read more) 2. Note down the \"URI\", Database name and the \"Primary Key\" (or \"Secondary Key\") - You will need them later For Table Storage 1. Create a Storage account and resource (read more) 2. Note down the \"Connection string\" - You will need it later Installation Usage For Azure Cosmos DB support 1. Create or update your existing .env file with the following content: 2. IMPORTANT: Make sure to add your .env file to your .gitignore! The .env file MUST NOT be versioned on Git. 3. Make sure to include the following call to your main.ts file: This line must be added before any other imports! Example Note: Check out the CosmosDB example project included in the sample folder Prepare your entity 0. Create a new feature module, eg. with the nest CLI: 1. Cre","default_branch":null,"files":null,"tree":[],"storefront":"/r/nestjs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nestjs/azure-database/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}