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
yarnornpm installto install dependencies. - Set
.envfile with your mongoURI. - Run
npm startto 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.
评论

