- Clone this repo
- Run
npm install
- In the Azure portal, create a database called
test
and a container calledtodos
- Copy
.env.example
to.env
- Replace the variables in
.env
with your own endpoint and key - Run
node index.js
- Visit
http://localhost:4000/graphiql
southpolesteve/graphql-cosmos-demo
A demo of Azure Cosmos DB with GraphQL and Apollo Server
JavaScript