This is a Next.js project that uses @azure/cosmos JS SDK to connect to a Azure Cosmos DB database.
A simple Todo App built on Next.js and Azure Cosmos DB, deployed on Vercel with the Vercel + Azure Cosmos DB integration.
Azure Cosmos DB account, database and container. Please make sure the Partition Key for container is '/id'.
Install dependencies from the root folder - npm install
Rename sample.env to .env and set appropriate variables.
You can obtain the connection string by navigating to your Azure Cosmos DB account page's key blade, and select Primary connection string. Copy the value to use.
npm run dev
https://cosmosdb-vercel-starter.vercel.app/
This is a Next.js project that uses @azure/cosmos JS SDK to connect to a Azure Cosmos DB database.
A simple Todo App built on Next.js and Azure Cosmos DB, deployed on Vercel with the Vercel + Azure Cosmos DB integration.
Azure Cosmos DB account, database and container. Please make sure the Partition Key for container is '/id'.
Install dependencies from the root folder - npm install
Rename sample.env to .env and set appropriate variables.
You can obtain the connection string by navigating to your Azure Cosmos DB account page's key blade, and select Primary connection string. Copy the value to use.
npm run dev
https://cosmosdb-vercel-starter.vercel.app/