Node.js app in the real world : structure, dependency injection, events

This is Part 1 of a 5-part series.

Part 0 was the introduction, now let’s move to our first real world questions about our REST API written in JavaScript under Node.js with a Koa server, a Mongodb database and the Mongoose ODM.

Let’s get cleanly organized ! Photo by Gabriel Beaudry on Unsplash

How to organize code, name files and write simple, readable