项目作者: hubidu

项目描述 :
zeit micro based realworld example app backend
高级语言: JavaScript
项目地址: git://github.com/hubidu/micro-realworld-example-app.git
创建时间: 2017-05-26T15:41:25Z
项目社区:https://github.com/hubidu/micro-realworld-example-app

开源协议:

下载


micro backend for realworld example app

Evaluating micro

TODOs

  • DONE Inject database connections
  • DONE Test with AVA
  • DONE Handle mongoose validation errros
  • DONE Define HTTP method in the file system
  • DONE Implement login
  • DONE Inject mongoose models
  • DONE Refactor tests

  • Handle errors/exceptions correctly

  • Extract lambda documentation
  • Implement more functionality
  • ‘Invalid json’ when not supplying json body to put route
  • Micro boom add stacktrace to error
  • Serve routes/links as index html
  • Can i have a base route
  • JWT authentication
  • Use pm2 for watches and restarts
  • Use pm2 for cluster mode
  • Use pm2 log aggregation
  • Compression

V2

  • Solution for scheduled jobs
  • Proxy/Make http requests to other services
  • Compose new routes from existing ones