Welcome to the darkside of the project. This backend code follows a MVC pattern which is
- Model -
mongodbis used to make schemas and models. - View -
ejsis used to render the views. - Controller -
expressis used as a controller.
I have used the module called trix for rich text editor which is based on WYSIWYG editor.
live link to blog-backend
live link to blog-frontend
- User can make a post using rich text editor.
- User can edit the posts
- User can delete the posts
- User can view the comments for the posts
- User can delete the comments, which actually update the comment as
[removed my admin]and saves the deleted comment into other collection. - User can filter comments based on commenters
- Download or clone this repo into your local machine
cdinto the project's folder- Type
npm installto install the necessary modules - Type
npm run serverstartto run compile and run the project





