In this article, we explore how organizing application logic as Use Cases in the application layer helps to make large typescript projects easier to reason about. Written by Khalil Stemmler.
The term Use Case is used to describe one of the potential ways that our software can be used. Another word that’s sometimes used is feature, though the concept is nearly identical.
Article covers the following topics towards structuring Node.js / TypeScript applications using Use Cases in the application layer:
- How to discover Use Cases
- The role of the application layer
- How to identify which subdomain Use Cases belong in
- How Use Cases make large projects more readable (screaming architecture)
- How to implement Use Cases with TypeScript
The code from this article is available in GitHub repository and you will get schemas and charts for free, too. Nice one!
[Read More]