百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
K

koa-passport-mongoose-graphql

> 后端框架
开源

搭载 Passport + Mongoose + GraphQL 的 Koa 2 服务器

194 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

搭载 Passport + Mongoose + GraphQL 的 Koa 2 服务器

Koa 2 + Passport + Mongoose + GraphQL

Notice

You want build a more flexible GraphQL schema, consider using this boilerplate instead: https://github.com/sibelius/graphql-dataloader-boilerplate

graffiti-mongoose is good for your first version of GraphQL, but do not scale well when you need to customize your schema

Command

Setup

bash
npm install

Develop

bash
# using nodemon
npm start

# using babel-watch
npm run watch

Test

bash
npm test

Dependencies

  • Watcher and hot-reload: nodemon
  • Test:
    • mocha
    • should
    • supertest
  • Build: babel
    • tools: babel-register
    • presets: babel-preset-es2015-node5
    • plugins: transform-async-to-generator, syntax-async-functions
  • Lint: You can choose the lint tool that you prefer.

Reference

  • koajs/koa#533
  • koajs/koa#596

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScriptboilerplategraphqlkoapassport

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类后端框架
定价开源

> 相关工具

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架