Inspired from:
- https://github.com/pleerock/routing-controllers-koa-demo
- https://github.com/mohuk/koa2-ts-init
- https://www.nuget.org/packages/Recipe.Core/
-
Install all dependencies:
npm install
-
Run the project:
npm start
-
Open in browser:
http://localhost:3000/posts
This project targets ES6. You can target ES5, but you'll need to use es6-shim and install its typings.
- introduce context layer (request | response)
- add testing framework / support
- add config file support