/graphql-cosmos-demo

A demo of Azure Cosmos DB with GraphQL and Apollo Server

Primary LanguageJavaScript

GraphQL + Cosmos

  1. Clone this repo
  2. Run npm install
  3. In the Azure portal, create a database called test and a container called todos
  4. Copy .env.example to .env
  5. Replace the variables in .env with your own endpoint and key
  6. Run node index.js
  7. Visit http://localhost:4000/graphiql