Skip to content

erinkelsey/personalblog-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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