Splitting a Koa app into parts and putting it together again
May 3, 2015
The little series I’ve written on supertest and other Koa friends is moving very slowly ahead. Lots of new findings is making for a lot of innovation that I need to find out and try out.
But here are the things I’ve written so far:
- Splitting API over several files
- Splitting the API not only the test - this post
- Verify in database after ended request
In this post I will show you a powerful way of using koa-mount to create a very modular application structure. And how to test it, of course.
As before, if you want to tag along as I build this example out, grab the code from this tag, and we’ll start at the same place.