3 ms·
Ask HN: What's an example of a good Express backend?
I consider myself a stronger frontend developer than a backend one. I want to learn what the best file structure is for an Express backend. Do you guys have any good source available examples?
- revskill 4y agoThere's no "best" ones. But there's guiding principles to help you achieve one. It's Clean Architecture, or Hexagon Architecture. The idea is, the business layer dependencies is just interfaces. So you can easily mock in test.
- hahnbee 4y agoWhoa thanks. Both look cool. I'll check them out.
- bradwood 4y agoCheck out Nest JS. It's an opinionated overlay on Express which might be helpful as good for thought.