This is a full-stack blog app, also appropriately illustrating the concept of restful routes. This app is created using MEN(MongoDB, express.js, node.js) Stack.
Tools and dependencies:
Dependencies:
View it at : https://desolate-retreat-25693.herokuapp.com/blogs
The views directory of the repo contains ejs files (Embedded JavaScript), which is nothing, but HTML files where we can write javascript inline to elements, without explicitly using the script tag. partials sub-directory contains the header and footer files, which form the boilerplate of the HTML file. Enjoy!!!
in the directory of the project, execute the following commands:
npm install express ejs body-parser method-override express-sanitizer mongoose --save
node app.js