Learning Koa
50mBeginner2019-01-14
Authors

Emmanuel Henri
Executive with 20+ years of experience in programming and design
Course details
Get started with Koa, a popular middleware framework for Node.js that was designed by the team behind Express. In this course, Emmanuel Henri helps you get up and running with this popular web framework, detailing how to work with Koa in your web apps and APIs. After providing a basic overview of Koa—as well as how it differs from Express—he discusses how to work with Context, which encapsulates the Node request and response objects into one object. He then goes over how to use async with Koa and how cascading middleware relates to your back-end environment, as well as how cascading middleware can be applied to async calls in a Koa environment.
Learning objectives
What's Koa?
Similarities and differences between Koa and Express
What's a Koa Context?
Throwing errors with Context
Using async with Koa
Cascading middleware
Learning objectives
What's Koa?
Similarities and differences between Koa and Express
What's a Koa Context?
Throwing errors with Context
Using async with Koa
Cascading middleware
Skills covered
KoaNode.jsAPIsLearningOpen SourceSoftware Development
Concepts
0. Introduction
- 01 - Work with Koa in your web applications and APIs
- 02 - What you should know
1. Overview of Koa
- 03 - What is Koa
- 04 - Compare Express vs. Koa
- 05 - Node.js server setup
2. Basic Koa Server
- 06 - Install and set up Koa
- 07 - Listen and use syntax
3. Overview of Context
- 08 - What is the context
- 09 - Basic context syntax
- 10 - Request with context
- 11 - Response with context
- 12 - Throw errors with context
4. Using Async with Koa
- 13 - What is async
- 14 - Setup for async use
- 15 - Examples of async
5. Cascading Middleware
- 16 - What is middleware
- 17 - Example of cascading
- 18 - Finalize cascading example
Conclusion
- 19 - Next steps