Node.js Practice

In this project, I tried to put into practice what I learned from Node.js. It is heavily influenced by my experience with Django. In the absence of the MTV pattern, apply MVC architecture. So try that the routes were only 'the path' to the controllers and did not contain any logic. The almost mandatory option to access MongoDB in a similar way to Django's ORM is Mongoose ODM. The schema-model layout feels very similar to Django's models. Finally, for the templates use the Nunjucks template engine, which is very similar to Jinja2, and Bootstrap 4 to give it a good aesthetic quickly.


There are many things I would like to improve and will do as I learn more about Node.js


To see the source code of project you can visit: NodeJS-simple-website.