Skip to content

entria/koa-passport-mongoose-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Koa 2 + Passport + Mongoose + GraphQL

Build Status

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

npm install

Develop

# using nodemon
npm start

# using babel-watch
npm run watch

Test

npm test

Dependencies

  • Watcher and hot-reload: nodemon
  • Test:
  • 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

Releases

No releases published

Packages

No packages published