DEV Community

loading...

MVC Framework for NodeJS

digitalprimeint profile image Marco Castillo ・1 min read

Hi NodeJS lovers.

Let's focus in business logic and avoid issues with bad practices driving you to the callback hell!

plugdo-mvc is a module that implements mvc web software architecture on top of express module. It help you focus in the implementation of the business logic, instead of writing express routing each time you need a new section.

It also avoid the callback hell because you are forced to implement your request methods like get, post, put and delete using class and async functions ES6.

You don't even have access to the res and next functions provided by express module, ... maybe yes... but you must create your own middleware.

Start with:

npm install plugdo-mvc --save
Enter fullscreen mode Exit fullscreen mode

And follow the documentation:
https://www.npmjs.com/package/plugdo-mvc

I would like to hear some honest feedbacks from the community. It will help me to improve the module.

Discussion (0)

pic
Editor guide