Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/southpolesteve/graphql-cosmos-demo
- Owner: southpolesteve
- Created: 2019-12-13T17:35:30.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T17:07:34.000Z (about 2 years ago)
- Last Synced: 2023-04-10T02:51:56.136Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 171 KB
- Stars: 15
- Watchers: 1
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
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`