Server Side development with Node.js and Koa.js Quick Start Guide
- Length: 132 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2018-11-30
- ISBN-10: 1789345391
- ISBN-13: 9781789345391
- Sales Rank: #5916952 (See Top 100 Books)
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 JavaScript 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 JavaScript 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 JavaScript 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 JavaScript developers who want to use Koa.js and Node.js to create fast and real time back end applications.
Table of Contents
- Introduction to Koa
- Getting Started with Koa
- Koa Core Concepts
- Handling Errors in Koa
- Building an API in Koa
- Building an Application in Koa