{"id":8275,"date":"2024-07-03T09:00:29","date_gmt":"2024-07-03T16:00:29","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/cosmosdb\/?p=8275"},"modified":"2024-07-03T06:44:24","modified_gmt":"2024-07-03T13:44:24","slug":"announcing-instant-graphql-apis-with-hasuras-data-connector-for-azure-cosmos-db-nosql","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cosmosdb\/announcing-instant-graphql-apis-with-hasuras-data-connector-for-azure-cosmos-db-nosql\/","title":{"rendered":"Announcing Instant GraphQL APIs with Hasura Data Connector for Azure Cosmos DB for NoSQL"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">We\u2019re excited to partner with Hasura to launch a new Hasura native data connector that generates instant GraphQL APIs on Azure Cosmos DB for NoSQL.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Hasura DDN makes data access easy by enabling backend teams to effortlessly deliver a unified API on all your data. With unparalleled on-demand composability, performance, security, and reliability baked in, frontend teams are empowered to ship new experiences faster.<\/span><\/p>\n<h2><b>Key features of the connector:\u00a0\u00a0<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">The Hasura data connector for Azure Cosmos DB offers instant, real-time, and production-ready GraphQL APIs on top of Azure Cosmos DB for NoSQL.\u00a0\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Key features include:\u00a0<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>On-demand composability: <\/b><span style=\"font-weight: 400;\">The connector allows you to specify how your domains and entities are related to get a unified API. You can query, fetch, filter, paginate, and aggregate any shape of data on demand across this semantic graph from a single endpoint.\u00a0<\/span><\/li>\n<\/ul>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Built-in authorization:<\/b><span style=\"font-weight: 400;\"> Hasura\u2019s built-in, fine-grained, row-level authorization engine allows you to conveniently specify role-based authorization rules at a model level, and safely expose the API to developers inside or outside your organization.\u00a0<\/span><\/li>\n<\/ul>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>High performance:<\/b><span style=\"font-weight: 400;\"> The connector compiles incoming GraphQL queries to SQL in a way that leverages native database capabilities. The query execution plan also intelligently sequences, batches, and distributes a composite query to avoid common performance challenges like N+1.\u00a0<\/span><\/li>\n<\/ul>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Cross-domain fetches:<\/b><span style=\"font-weight: 400;\"> With Hasura DDN, you can compose data across multiple domains. Nested filtering and nested sorting across domains are on the roadmap.\u00a0<\/span><\/li>\n<\/ul>\n<h2><b>Use cases of the connector:\u00a0\u00a0<\/b><\/h2>\n<h3><b>API authoring\u00a0<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">With this integration, Hasura allows you to build APIs on top of Azure Cosmos DB for NoSQL in minutes, saving backend development teams time and speeding up time to market. This integration also obviates the need to refactor APIs (microservices) as data models change.\u00a0<\/span><\/p>\n<p><b>App or API modernization<\/b><span style=\"font-weight: 400;\">\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Modernizing legacy applications, APIs, and app stacks is essential for businesses to enhance performance, scalability, and maintainability while reducing costs.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This integration offers a fast track to modernizing your apps and APIs, and breaking down monolithic services by:\u00a0<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Data modernization:<\/b><span style=\"font-weight: 400;\"> Migrating data to modern databases like Azure Cosmos DB for NoSQL, an API enables more efficient storage and retrieval of unstructured data. This new data connector speeds up rebuilding the API layer in your data modernization project.\u00a0<\/span><\/li>\n<\/ul>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>API composition: <\/b><span style=\"font-weight: 400;\">Hasura DDN provides a unified API across multiple data domains, thus simplifying data access for app teams and API consumers that need to find, query, and join from multiple microservices.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Data products: <\/b><span style=\"font-weight: 400;\">With this new connector, you get a composable API that lets you flexibly fetch the shape of data you need. This eliminates the need to create (and maintain) bespoke endpoints and microservices for each data product.\u00a0<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">With the Hasura data connector for Azure Cosmos DB NoSQL, you can achieve all these benefits seamlessly.\u00a0<\/span><\/p>\n<h2><b>Getting started\u00a0\u00a0<\/b><span style=\"font-weight: 400;\">\u00a0<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">The Hasura data connector for Azure Cosmos DB NoSQL marks a significant enhancement for developers seeking to build high-performance, scalable applications.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0We encourage you to explore this new connector and experience firsthand the benefits it brings to your development workflow. For more detailed instructions and support, please visit Hasura\u2019s <\/span><a href=\"https:\/\/hasura.io\/connectors\/azure-cosmos\"><span style=\"font-weight: 400;\">connector hub site<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/07\/HASURA-2.png\"><img decoding=\"async\" class=\" wp-image-8302 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/07\/HASURA-2.png\" alt=\"Image HASURA\" width=\"1087\" height=\"552\" srcset=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/07\/HASURA-2.png 1233w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/07\/HASURA-2-300x152.png 300w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/07\/HASURA-2-1024x520.png 1024w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2024\/07\/HASURA-2-768x390.png 768w\" sizes=\"(max-width: 1087px) 100vw, 1087px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">For more information on Hasura DDN, visit their <\/span><a href=\"https:\/\/hasura.io\/ddn\"><span style=\"font-weight: 400;\">website<\/span><\/a><span style=\"font-weight: 400;\">.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For assistance or to suggest improvements to this integration, contact <\/span><span style=\"font-weight: 400;\">cosmosdbintegrations@microsoft.com<\/span><span style=\"font-weight: 400;\">.<\/span><\/p>\n<h2><b>About Azure Cosmos DB<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">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. <\/span><a href=\"https:\/\/cosmos.azure.com\/try\/\"><span style=\"font-weight: 400;\">Try Azure Cosmos DB for free here.<\/span><\/a><span style=\"font-weight: 400;\"> To stay in the loop on Azure Cosmos DB updates, follow us on <\/span><a href=\"https:\/\/twitter.com\/AzureCosmosDB\"><span style=\"font-weight: 400;\">X<\/span><\/a><span style=\"font-weight: 400;\">, <\/span><a href=\"https:\/\/aka.ms\/AzureCosmosDBYouTube\"><span style=\"font-weight: 400;\">YouTube<\/span><\/a><span style=\"font-weight: 400;\">, and <\/span><a href=\"https:\/\/www.linkedin.com\/company\/azure-cosmos-db\/\"><span style=\"font-weight: 400;\">LinkedIn<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We\u2019re excited to partner with Hasura to launch a new Hasura native data connector that generates instant GraphQL APIs on Azure Cosmos DB for NoSQL.\u00a0 Hasura DDN makes data access easy by enabling backend teams to effortlessly deliver a unified API on all your data. With unparalleled on-demand composability, performance, security, and reliability baked in, [&hellip;]<\/p>\n","protected":false},"author":80443,"featured_media":8292,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14],"tags":[499,1851,1914],"class_list":["post-8275","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-core-sql-api","tag-azure-cosmos-db","tag-graphql","tag-hasura"],"acf":[],"blog_post_summary":"<p>We\u2019re excited to partner with Hasura to launch a new Hasura native data connector that generates instant GraphQL APIs on Azure Cosmos DB for NoSQL.\u00a0 Hasura DDN makes data access easy by enabling backend teams to effortlessly deliver a unified API on all your data. With unparalleled on-demand composability, performance, security, and reliability baked in, [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts\/8275","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=8275"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts\/8275\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/media\/8292"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/media?parent=8275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/categories?post=8275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/tags?post=8275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}