First, I’ll recap what async functions are and how they work. Then, I’ll highlight the differences between Koa 1 and Koa 2. After that, I will describe my demo app for Koa 2, covering all aspects of development, including testing (using Mocha, Chai and Supertest) and deployment (using PM2).
The post Building A Server-Side Application With Async Functions and Koa 2 appeared first on Smashing Magazine.
via Reme Le Hane