graphql-mongodb-serverA GraphQL MongoDB server.

联合创作 · 2023-09-19 00:33


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.

浏览 5
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报