graphql-mongodb-serverA GraphQL MongoDB server.
GraphQL MongoDB Server
A server boilerplate using GraphQL and MongoDB.
Introduction
This is a server boilerplate using GraphQL and MongoDB. Support subscriptions using GraphQL Yoga.
Getting started
- Clone this repo using
https://github.com/leonardomso/graphql-mongodb-server.git
- Move to the appropriate directory:
cd graphql-mongodb-server
. - Run
yarn
ornpm install
to install dependencies. - Set
.env
file with your mongoURI. - Run
npm start
to see the example app athttp://localhost:4000/playground
.
Commands
-
npm start
- start the playground athttp://localhost:4000/playground
License
MIT license, Copyright (c) 2018 Leonardo Maldonado.
评论