leonardomso / graphql-mongodb-server

A GraphQL MongoDB server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


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/leonardomso/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) 2018 Leonardo Maldonado.

About

A GraphQL MongoDB server.


Languages

Language:JavaScript 99.2%Language:Dockerfile 0.8%