Skip to content

Commit 1576f2a

Browse files
committed
updating README
1 parent 6b58593 commit 1576f2a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This repo is an example of how to achieve Clean Architecture in Next.js. There's
66

77
![Clean Architecture Diagram](./assets/clean-architecture-diagram.jpg)
88

9+
> [!Note]
910
> 👆 I drew a simplified version of the [original Clean Architecture diagram](https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html). I simplified it in a way that makes more sense to me, and it's easier to comprehend.
1011
1112
I strongly recommend you to read [the original article by Uncle Bob](https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html) if this is your first time hearing about Clean Architecture, but I'll try to summarize it for you below.
@@ -21,10 +22,7 @@ Clean Architecture, and similar/derived architectures, all have the same goal -
2122

2223
Clean Architecture achieves this through defining a _dependency hierarchy_ - layers depend only on layers **below them**, but not above.
2324

24-
## Project structure
25-
26-
> [!NOTE]
27-
> Only the important bits
25+
## Project structure (only the important bits)
2826

2927
- `app` - _Frameworks & Drivers Layer_ - basically everything Next.js (pages, server actions, components, styles etc...) or whatever "consumes" the app's logic
3028
- `di` - Dependency Injection - a folder where we setup the DI container and the modules

0 commit comments

Comments
 (0)