Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
K

koa-passport-mongoose-graphql

> 后端框架
Open source

Koa 2 server with Passport + Mongoose + GraphQL

194 stars0 likes1 views
WebsiteGitHub

About

Koa 2 server with Passport + Mongoose + GraphQL

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 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScriptboilerplategraphqlkoapassport

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category后端框架
PricingOpen source

> Related tools

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