I am very new to UML and I am trying to make a deployment diagram for my web application. I am using MVC architectural pattern but I am unsure if this should be included. I am also using mongodb, nodejs, express, and handelbars. How can I show this on my diagram?
2 Answers
I also agree with Thomas Kilian. In a deployment diagram, it's better if we can mention the specific components to get a clear idea on the physical network (hardware) configurations on which your software is deployed and run.
FYI, I am a uni student and came up with the following deployment diagram while preparing a Software Architecture Document for a Node+Express+Mongo web application. Hope you can get some idea from it too.
6 Comments
It depends on your audience. Just putting three boxes in with the text MVC is rather pointless. You might show details as to where a MVC pattern is used concrete. But I guess, this should go elsewhere (in the class design). Your deployment diagram should just show how the components are deployed (i.e. on which hardware you have which software/library).

