Home

Awesome

Express example

This example will not run! Some parts are not implemented.

This API specific Express app example is demonstrating in my opinion a good architecture.

You can also read these slides for presentation called "Good Express.js Architecture":

Note: the terminology in this exampls is a bit different than in the slides. controller = endpoint = http-layer and service = core = business logic.

Here's how the Express API application has been architectured in the example:

architecture

Good with this setup: