captSteveRogers / BlogApp

A Blog App for all
https://desolate-retreat-25693.herokuapp.com/blogs
0 stars 0 forks source link

BlogApp

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:

  1. Node.js
  2. MongoDB
  3. CSS

Dependencies:

View it at : https://desolate-retreat-25693.herokuapp.com/blogs

Beginners Please note:

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!!!

To run the project on local machine:

  1. Clone/download the repository.
  2. 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

  3. Then in the local browser, run localhost:8080
Star it if you like it :D