Skip to content

transitive-bullshit/koa-api-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

koa-api-boilerplate

Koa 2 API boilerplate with batteries-included.

NPM JavaScript Style Guide

Features

  • koa-micro - microservices with batteries included
    • Koa 2 app
    • Common context utilities
    • Common middleware like error handling, response time, CORS, auth, etc
    • Logger supporting Google Cloud Trace
    • Error handler middleware with Google Cloud Errors
    • Health check endpoint (/alive by default)
  • koa2-mongoose-crud - CRUD middleware for Mongoose models
    • Quickly create RESTful APIs over mongodb models

Todo

  • jwt authentication

  • acl authorization

  • github / facebook / twitter oauth flows

  • redo mongoose base model and revisit safePaths stuff

  • revisit db abstraction

  • accompanying frontend CRA boilerplate

  • user signup / signin / signout / reset password flows

License

MIT © Travis Fischer

Support my OSS work by following me on twitter twitter

About

Koa 2 API boilerplate with batteries-included.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors