Using Middlewares with Koa
Published in
4 min readMay 26, 2020
Koa is a small framework that lets us create backend apps that run on the Node.hs platform.
In this article, we’ll look at how to create our Koa app with our own middlewares.
Middleware is a Building Block of a Koa App
Koa apps are made up of middlewares. We can define and use it by writing the following code: