Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/judacarrillo/clean-architecture-nodejs
CLI application with clean architecture in NodeJs
https://github.com/judacarrillo/clean-architecture-nodejs
Last synced: about 1 month ago
JSON representation
CLI application with clean architecture in NodeJs
- Host: GitHub
- URL: https://github.com/judacarrillo/clean-architecture-nodejs
- Owner: JudaCarrillo
- License: mit
- Created: 2024-06-05T03:28:59.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-07-29T02:44:42.000Z (6 months ago)
- Last Synced: 2024-07-29T04:03:56.792Z (6 months ago)
- Language: TypeScript
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Clean Architecture in Node.js
This is a monorepo that contains exercises and examples of how to implement the Clean Architecture in Node.js.
From basic applications to more complex ones, you will find examples of how to implement the Clean Architecture in Node.js.## What is Clean Architecture?
The Clean Architecture is a software design philosophy that separates the software into layers. Each layer has a specific responsibility and knows only about the layers below it. This separation allows for better maintainability, testability, and scalability.## Layers
The Clean Architecture is composed of the following layers:
1. **Domain**: Contains the business rules and the data structures.
2. **Application**: Contains the application-specific business rules.
3. **Infrastructure**: Contains the implementation of the interfaces defined in the Domain layer.It is important know that the layers can be named differently depending on the author, but the concepts are the same.