├── .babelrc ├── .gitignore ├── 01_sync_json.js ├── 02_async_json.js ├── 03_promise_json.js ├── 03a_promise_json.js ├── 04_generator_json.js ├── 04a_generator_json.js ├── 05_asyncawait_json.js ├── 05_asyncawait_json_launcher.js ├── README.md ├── app ├── index.js ├── middleware │ ├── error.js │ └── routes.js └── models │ └── product.js ├── bin └── crud.sh ├── config ├── default.js └── runtime.json ├── index.js ├── koa_example.js ├── koa_example_launcher.js ├── my.json ├── my2.json ├── package.json └── sql └── koa2.sql /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApelSYN/kojs2-presentation-examples/HEAD/.babelrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/* 2 | node_modules/* 3 | -------------------------------------------------------------------------------- /01_sync_json.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApelSYN/kojs2-presentation-examples/HEAD/01_sync_json.js -------------------------------------------------------------------------------- /02_async_json.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApelSYN/kojs2-presentation-examples/HEAD/02_async_json.js -------------------------------------------------------------------------------- /03_promise_json.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApelSYN/kojs2-presentation-examples/HEAD/03_promise_json.js -------------------------------------------------------------------------------- /03a_promise_json.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApelSYN/kojs2-presentation-examples/HEAD/03a_promise_json.js -------------------------------------------------------------------------------- /04_generator_json.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApelSYN/kojs2-presentation-examples/HEAD/04_generator_json.js -------------------------------------------------------------------------------- /04a_generator_json.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApelSYN/kojs2-presentation-examples/HEAD/04a_generator_json.js -------------------------------------------------------------------------------- /05_asyncawait_json.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApelSYN/kojs2-presentation-examples/HEAD/05_asyncawait_json.js -------------------------------------------------------------------------------- /05_asyncawait_json_launcher.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApelSYN/kojs2-presentation-examples/HEAD/05_asyncawait_json_launcher.js -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApelSYN/kojs2-presentation-examples/HEAD/README.md -------------------------------------------------------------------------------- /app/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApelSYN/kojs2-presentation-examples/HEAD/app/index.js -------------------------------------------------------------------------------- /app/middleware/error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApelSYN/kojs2-presentation-examples/HEAD/app/middleware/error.js -------------------------------------------------------------------------------- /app/middleware/routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApelSYN/kojs2-presentation-examples/HEAD/app/middleware/routes.js -------------------------------------------------------------------------------- /app/models/product.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApelSYN/kojs2-presentation-examples/HEAD/app/models/product.js -------------------------------------------------------------------------------- /bin/crud.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApelSYN/kojs2-presentation-examples/HEAD/bin/crud.sh -------------------------------------------------------------------------------- /config/default.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApelSYN/kojs2-presentation-examples/HEAD/config/default.js -------------------------------------------------------------------------------- /config/runtime.json: -------------------------------------------------------------------------------- 1 | { 2 | } -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApelSYN/kojs2-presentation-examples/HEAD/index.js -------------------------------------------------------------------------------- /koa_example.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApelSYN/kojs2-presentation-examples/HEAD/koa_example.js -------------------------------------------------------------------------------- /koa_example_launcher.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApelSYN/kojs2-presentation-examples/HEAD/koa_example_launcher.js -------------------------------------------------------------------------------- /my.json: -------------------------------------------------------------------------------- 1 | {"hello":"world"} -------------------------------------------------------------------------------- /my2.json: -------------------------------------------------------------------------------- 1 | {"hello2":"world2"} -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApelSYN/kojs2-presentation-examples/HEAD/package.json -------------------------------------------------------------------------------- /sql/koa2.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApelSYN/kojs2-presentation-examples/HEAD/sql/koa2.sql --------------------------------------------------------------------------------