Using Clean Architecture for Microservice APIs in Node.js with MongoDB and Express
Video Statistics and Information
Channel: Dev Mastery
Views: 206,441
Rating: 4.9613028 out of 5
Keywords: restful api, node js, express api, nodejs express, rest api, express rest api, node api tutorial, restful api tutorial, software development, dev mastery, devmastery, Bill Sourour, Clean Architecture, JavaScript, expressjs, clean architecture uncle bob, clean architecture javascript, clean architecture node, clean architecture nodejs, express js, node js mongodb rest api tutorial, microservices architecture, building a microservice based app, clean architecture example
Id: CnailTcJV_U
Channel Id: undefined
Length: 33min 49sec (2029 seconds)
Published: Mon Apr 22 2019
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
Friends don't let friends use mongodb
Awesome! :)
Great video, immediately subscribed and looking forward for more of your content. Thank you very much.
This is a great overview of a clean architecture example in node. Its also the first time I've seen someone abstracting out functionality like validation and hashing out, which is interesting and mind opening. It also helped me solidify the differences between usecases and controllers, making me realize the parallels with the hexagonal architecture; Controllers as the drivers and usecases as receiving the driven dependencies. Curious though as why you choose to receive normalized data as input in your entity gateway interfaces as instead of receiving the whole entity. Seems like that leads to coupling between the specific implementation of your repository with your interface.
Thank you again for the great content.
Thanks for doing this. I may refactor some things in my app after watching.
"clean" and "MongoDB" in the same title O.o
Have you thought about presenting this architecture using Typescript? I am very interesting, where should be keeped interface injected to the entities? They should be in a core layer?