• Stars
    star
    254
  • Rank 160,264 (Top 4 %)
  • Language
    JavaScript
  • Created about 6 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A GraphQL MongoDB server.


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.