/personalblog-nodejs

✍️ Example personal blog with Node.js, Express, EJS and MongoDB

Primary LanguageJavaScript

Personal Blog

Example personal blog using Node.js, Express, EJS (Embedded JavaScript templates), and MongoDB.

Hosted example:

Home: https://hidden-forest-03499.herokuapp.com/

Add New Blog: https://hidden-forest-03499.herokuapp.com/compose

Install

$ npm install

Setup

Create a .env file in the main folder, containing the connection string for your MongoDB. For example, use the following for local connections:

MONGODB_SRV_ADDRESS=mongodb://localhost:27017/blogDB

Run

$ npm start