Build real-world robust web applications and APIs using the modern and expressive Koa Node.js framework.
Key Features
- Get up and running with Koa.js and leverage its power with node.js
- Get the most out of Koa Async functions and generators
- Create real time dynamic serverside apps efficiently with Koa.js
Book Description
Every developer wants to build modular and scalable web applications. Modern versions of Java Script have made this possible in Node.js, and Koa is a Node.js framework that makes it easy. This book is the ideal introduction for Java Script developers who want to create scalable server side applications using Node.js and Koa.js.
The book shows you how Koa can be used to start projects from scratch, register custom and existing middleware, read requests, and send responses to users. We will explore the core concepts in Koa, such as error handling, logging, and request and response handling. We will dive into new concepts in Java Script development, and see how paradigms such as async/await help with modern Node.js application development.
By the end of this book, you will be building robust web applications in Koa using modern development paradigms and techniques of Node.js development.
What you will learn
- Create a simple server in Node.js and Koa
- Work with custom middleware in Koa
- Handle errors in Koa
- Create routes, handle requests, and send responses from APIs
- Build views and use templates in Koa
- Authenticate your application and structure it properly in Koa
Who this book is for
This book is for serverside developers and Java Script developers who want to use Koa.js and Node.js to create fast and real time back end applications.