Skip to content

pathei-kosmos/node-blog

Repository files navigation

Node-blog 📗

Blog created with Node.js (Express) following the MVC pattern. It uses the Mongoose ODM to connect to a MongoDB Atlas cloud database deployed on AWS, and EJS as a template engine (for Server-Side Rendering). The user can create, display and delete articles. The server uses morgan for its logs, compresses its HTTP responses in gzip and secures their headers with helmet.

Demo gif

Requirements

  • Node
  • Git
  • CLI

Setup

Clone the repo and install the dependencies.

git clone https://github.com/pathei-kosmos/node-blog.git
cd node-blog
npm install

Note that for obvious security reasons the database connection file is not provided. You will have to replace it under the name "dbURI.js" at the root of the project.