E1: Clean Architecture in Next.js

This is the start of my streaming series where we refactor a Next.js 14 app built with server actions and implement a layered architecture to make the whole app more modular, easier to refactor, and also testable!


I distilled this live streaming series into a 53 minute tutorial: https://youtu.be/jJVAla0dWJo

We started off talking about the architecture, pros & cons, and why we decided to implement the “Layered Architecture”. Then we got into it! 😁 In the next stream we’ll continue refactoring the services.

Next stream: https://youtube.com/live/rKzKE1jFEPI

🔗 Links:
👉 Clean Architecture: https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html
👉 Layered Architecture: https://www.oreilly.com/library/view/software-architecture-patterns/9781491971437/ch01.html

🤝 Become a friend of the channel! Start your membership today and get extra benefits: https://youtube.com/@nikolovlazar/join
💬 A bunch of us are hanging out at https://discord.creatures.sh/. Join us!
🐦 Find me on the bird app: https://twitter.com/NikolovLazar
🎥 What I use for coding and making videos: https://nikolovlazar.com/uses