Skip to content

LuizFelipeNeves/graphql-mongodb-server

Repository files navigation


GraphQL MongoDB Server

GraphQL MongoDB Server

A server boilerplate using GraphQL and MongoDB.

PRs Welcome License MIT


Introduction

This is a server boilerplate using GraphQL and MongoDB. Support subscriptions using GraphQL Yoga.

Getting started

  1. Clone this repo using https://github.com/luizfelipeneves/graphql-mongodb-server.git
  2. Move to the appropriate directory: cd graphql-mongodb-server.
  3. Run yarn or npm install to install dependencies.
  4. Set .env file with your mongoURI.
  5. Run npm start to see the example app at http://localhost:4000/playground.

Commands

  • npm start - start the playground at http://localhost:4000/playground

License

MIT license, Copyright (c) 2019 Luiz Felipe Neves.