A server boilerplate using GraphQL and MongoDB.
This is a server boilerplate using GraphQL and MongoDB. Support subscriptions using GraphQL Yoga.
- Clone this repo using
https://github.com/luizfelipeneves/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.
npm start- start the playground athttp://localhost:4000/playground
MIT license, Copyright (c) 2019 Luiz Felipe Neves.
