Features

  1. Minimal dependencies
  2. Clean and consise example for API and error handling
  3. Use ES7, async, await and appropriate router middleware

Get Started

  1. Go to the demo site or run 'yarn install && yarn dev' in your terminal
  2. refresh the webpage(localhost:4000/api/item) multiple times and watch the possible results: (1) sync result (2) async result from fake database (3) async error from fake database (4) error thrown from your bussiness logic
  3. read the code.