{"id":7991,"date":"2024-05-15T07:00:05","date_gmt":"2024-05-15T14:00:05","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/cosmosdb\/?p=7991"},"modified":"2024-05-15T02:43:18","modified_gmt":"2024-05-15T09:43:18","slug":"announcing-data-api-builder-general-availability-for-azure-cosmos-db","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cosmosdb\/announcing-data-api-builder-general-availability-for-azure-cosmos-db\/","title":{"rendered":"Announcing Data API builder General Availability for Azure Cosmos DB"},"content":{"rendered":"<p><a href=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/05\/dataapi.png\"><img decoding=\"async\" class=\"aligncenter wp-image-8008 size-large\" src=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/05\/dataapi-1024x576.png\" alt=\"Announcing Data API builder General Availability for Azure Cosmos DB\" width=\"640\" height=\"360\" srcset=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/05\/dataapi-1024x576.png 1024w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/05\/dataapi-300x169.png 300w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/05\/dataapi-768x432.png 768w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/05\/dataapi.png 1280w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p><strong>About Data API builder<\/strong><strong> for Azure Databases<\/strong><\/p>\n<p>Exciting news! The Data API Builder for Azure Cosmos DB is now officially available! Say goodbye to developer headaches when accessing databases for client applications. Requiring no code, the Data API Builder provides secure, feature-rich GraphQL endpoints on Azure Cosmos DB. It&#8217;s developer-friendly, open-source, and free, even for on-prem databases. Access databases effortlessly and focus on building amazing applications! Whether you&#8217;re building a data clearinghouse, crafting a mobile app, or tinkering with an Azure database, Data API builder has your back. It seamlessly integrates with various backend stores, from NoSQL to relational databases, and effortlessly manages multiple databases at once.<\/p>\n<p><strong>GraphQL endpoints on Azure Cosmos DB with Data API builder<\/strong><\/p>\n<p>The Data API Builder for Azure Cosmos DB simplifies the process of exposing GraphQL endpoints on Azure Cosmos DB collections with minimal commands. It enables relational queries, filtering, and mutations, including patch operations. The Data API Builder empowers developers to effortlessly create GraphQL endpoints while maintaining granular and flexible security features.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/05\/dab.gif\"><img decoding=\"async\" class=\"size-full wp-image-7992 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/05\/dab.gif\" alt=\"Image dab\" width=\"813\" height=\"542\" \/><\/a><\/p>\n<p><strong>Flexible Integration with Azure Databases<\/strong><\/p>\n<p>Whether you&#8217;re building a web app, crafting a mobile app, or tinkering with an Azure database, DAB has your back. It seamlessly integrates with various backend stores, from NoSQL to relational databases, and effortlessly manages multiple databases at once.<\/p>\n<p><strong>Container-based<\/strong><\/p>\n<p>DAB is a standard <a href=\"https:\/\/aka.ms\/dab\/registry\" target=\"_blank\" rel=\"noopener\">Docker-friendly container<\/a>. It is completely stateless and scalable. You can run it in your own environment or in the cloud\u2014it doesn\u2019t matter. Run one or several containers against a single database or multiple databases. The approach is up to you.<\/p>\n<p><strong>Enterprise friendly<\/strong><\/p>\n<p>Enterprise customers demand features like Microsoft Entra Identity integration, Application Insights, and CI\/CD support. They also require scaling and some complex topologies. DAB delivers with flexibility, as well as the scale and performance to meet every workload.<\/p>\n<p><strong>Seamless Integration<\/strong><\/p>\n<p>DAB with Azure Static Web Apps offers a seamless solution for integrating your database with front-end applications through its cutting-edge data connections feature, currently in preview. DAB seamlessly integrates with <a href=\"https:\/\/learn.microsoft.com\/azure\/data-api-builder\/tutorial-deploy-container-app-cli\" target=\"_blank\" rel=\"noopener\">Azure Container Apps<\/a>, Azure Container Instances, Azure Kubernetes Services, and Azure Web Apps for Containers. It also extends support to custom on-premises deployments.<\/p>\n<p><strong>Feature rich<\/strong><\/p>\n<p>Every endpoint in the Data API Builder comes equipped with essential features: retry policy, thorough logging, in-memory cache, field mapping, and filtering of results. Plus, it offers solid documentation, a standards-based interface, and dependable error handling.<\/p>\n<p><strong>Streamlined Development with DAB<\/strong><\/p>\n<p>DAB uses the techniques and technologies engineers love. It&#8217;s what you would build\u2014you just don\u2019t have to. DAB dramatically reduces the codebase, eliminates suites of tests, and shortens CI\/CD pipelines. It introduces capabilities typically reserved for the largest teams yet remains incredibly simple.<\/p>\n<p><strong>Open\u00a0source<\/strong><\/p>\n<p>Being open source means we operate transparently. Our code is accessible, and our discussions take place on GitHub. We welcome your contributions via pull requests. We hold monthly community standups on YouTube and collaborate with projects like <a href=\"https:\/\/chillicream.com\/docs\/hotchocolate\/v13\" target=\"_blank\" rel=\"noopener\">HotChocolate<\/a> and <a href=\"https:\/\/github.com\/ZiggyCreatures\/FusionCache\" target=\"_blank\" rel=\"noopener\">FusionCache<\/a>.<\/p>\n<p>Explore more about <a href=\"https:\/\/aka.ms\/dab.\" target=\"_blank\" rel=\"noopener\">Data API builder<\/a>.<\/p>\n<p><strong>Great documentation<\/strong><\/p>\n<p>The Data API builder team has put in a lot of time to make our docs complete and easy. We\u2019re full of quick starts, tutorials, and conceptual articles meant to help you get started. Our reference docs are comprehensive and always evolving, you can find them <a href=\"https:\/\/aka.ms\/dab\/docs\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<p><strong>Command line<\/strong><\/p>\n<p>Our CLI is a cross-platform dotnet tool you install like this:<\/p>\n<pre class=\"prettyprint language-cs language-csharp\"><code class=\"language-cs language-csharp\">dotnet tool install Microsoft.DataApiBuilder --global<\/code><\/pre>\n<p>Then, in three lines, you can initialize, validate, and spin up an endpoint on Windows, Linux or MacOS. Immediately start consuming data and building client applications. This is a simple example, but a larger and more complicated database is just fine, too.<\/p>\n<pre class=\"prettyprint language-js\"><code class=\"language-js\">dab init --database-type cosmosdb_nosql \u00a0--graphql-schema schema.gql\u00a0 --connection-string env('my-connection-string')\"\r\n\r\ndab add Book --source dbo.books --permissions \"anonymous:*\"\r\n\r\ndab start<\/code><\/pre>\n<p>It\u2019s worth noting that Data API builder deeply supports environment variables throughout its configuration file. This is the best way to pass secrets. We also support local ENV files for engineers wanting to limit the scope of local environment variables during development.<\/p>\n<p><strong>Getting Started and Contributions<\/strong><\/p>\n<p>To get started with Data API builder, explore our comprehensive documentation and step-by-step guides: <a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/data-api-builder\/quickstart-nosql\" target=\"_blank\" rel=\"noopener\">Complete Getting Started Guide<\/a> We look forward to your feedback and contributions. Join our GitHub Discussions, provide feedback, or start a conversation about our roadmap.<\/p>\n<p><strong>Final Thoughts<\/strong><\/p>\n<p>The journey from public preview to General Availability has been rewarding, and the Data API Builder is ready to help developers simplify database interactions, enabling them to spend more time focusing on creating outstanding user experiences and architectures. Customers across the spectrum, from startups to enterprises, are increasingly embracing DAB for Azure Cosmos DB.<\/p>\n<p>Join our community <a href=\"https:\/\/forms.office.com\/pages\/responsepage.aspx?id=v4j5cvGGr0GRqy180BHbR1S1JdzGAxhDrefV-tBYtwZUNE1RWVo0SUVMTkRESUZLMVVOS0wwUFNVRy4u\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<h4><strong>About Azure Cosmos DB<\/strong><\/h4>\n<p>Azure Cosmos DB is a fully managed and serverless distributed database for modern app development, with SLA-backed speed and availability, automatic and instant scalability, and support for open-source PostgreSQL, MongoDB and Apache Cassandra. <a href=\"https:\/\/cosmos.azure.com\/try\/\" target=\"_blank\" rel=\"noopener\">Try Azure Cosmos DB for free here<\/a>. To stay in the loop on Azure Cosmos DB updates, follow us on <a href=\"https:\/\/twitter.com\/AzureCosmosDB\" target=\"_blank\" rel=\"noopener\">X<\/a>, <a href=\"https:\/\/aka.ms\/AzureCosmosDBYouTube\" target=\"_blank\" rel=\"noopener\">YouTube<\/a>, and <a href=\"https:\/\/www.linkedin.com\/company\/azure-cosmos-db\/\" target=\"_blank\" rel=\"noopener\">LinkedIn<\/a>.<\/p>\n<p>To quickly build your first database, watch our <a href=\"https:\/\/youtube.com\/playlist?list=PLmamF3YkHLoLLGUtSoxmUkORcWaTyHlXp\" target=\"_blank\" rel=\"noopener\">Get Started videos<\/a> on YouTube and explore ways to <a href=\"https:\/\/docs.microsoft.com\/azure\/cosmos-db\/optimize-dev-test\" target=\"_blank\" rel=\"noopener\">dev\/test free.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>About Data API builder for Azure Databases Exciting news! The Data API Builder for Azure Cosmos DB is now officially available! Say goodbye to developer headaches when accessing databases for client applications. Requiring no code, the Data API Builder provides secure, feature-rich GraphQL endpoints on Azure Cosmos DB. It&#8217;s developer-friendly, open-source, and free, even for [&hellip;]<\/p>\n","protected":false},"author":80443,"featured_media":8008,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[12,14],"tags":[],"class_list":["post-7991","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-announcements","category-core-sql-api"],"acf":[],"blog_post_summary":"<p>About Data API builder for Azure Databases Exciting news! The Data API Builder for Azure Cosmos DB is now officially available! Say goodbye to developer headaches when accessing databases for client applications. Requiring no code, the Data API Builder provides secure, feature-rich GraphQL endpoints on Azure Cosmos DB. It&#8217;s developer-friendly, open-source, and free, even for [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts\/7991","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/users\/80443"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/comments?post=7991"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts\/7991\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/media\/8008"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/media?parent=7991"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/categories?post=7991"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/tags?post=7991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}