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
yarn
ornpm install
to install dependencies. - Set
.env
file with your mongoURI. - Run
npm start
to 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.