MVC Framework for Nodejs

MVC architecture in simple words

  • Model : The part of our application that will deal with the database or any data-related functionality.
  • View : Everything the user will see. Basically the pages that we’re going to send to the client.
  • Controller : The logic of our site, and the glue between models and views. Here we call our models to get the data, then we put that data on our views to be sent to the users.

Another article which helps in understanding about MVC and its file Structure for Nodejs


Source :

1 Like