# koa-step-by-step **Repository Path**: shrekuu/koa-step-by-step ## Basic Information - **Project Name**: koa-step-by-step - **Description**: a simple koa example - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-21 - **Last Updated**: 2024-12-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README learn koa step by step ---------- ___Please run `npm install` to install all the dependencies first. Also you need node v0.11.13+ to run all the examples.___ ## generator Several simple examples to explain `Iterator` / `Generator` / `AsyncFunction`. 1. [iterator](generator/1_iterator.js) 2. [generator](generator/2_generator.js) 3. [iterator with functions](generator/3_iterator_fn.js) 4. [generator with functions](generator/4_generator_fn.js) 5. [generator with logic](generator/5_generator_logic.js) 6. [generator with complex logic, a minimal implement of co](generator/6_generator_complex.js) 7. [co with thunk](generator/7_co_thunk.js) 8. [co with promise](generator/8_co_promise.js) 9. [async function with promise](generator/9_async_function.js) ## apps Several simple examples to show how `koa` works. 1. [helloworld](apps/1_helloworld.js) 2. [with router](apps/2_router.js) 3. [with template render](apps/3_view.js) 4. [with middlewares](apps/4_middlewares.js) 5. [a completed koa app](apps/5_authentication.js) ## License MIT