Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/southpolesteve/graphql-cosmos-demo

A demo of Azure Cosmos DB with GraphQL and Apollo Server
https://github.com/southpolesteve/graphql-cosmos-demo

Last synced: 2 months ago
JSON representation

A demo of Azure Cosmos DB with GraphQL and Apollo Server

Awesome Lists containing this project

README

        

# 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`