Skip to content

CodeWithSouma/blog-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BLOG-WEBSITE

A complete blog website using node and express

Setup

Make sure to follow all these steps exactly as explained below. Do not miss any steps or you won't be able to run this application.

Install MongoDB

To run this project, you need to install the latest version of MongoDB Community Edition first.

https://docs.mongodb.com/manual/installation/

Once you install MongoDB, make sure it's running.

Clone the repositories

USING HTTPS

git clone https://github.com/CodeWithSouma/blog-website.git

USING SSH

git clone git@github.com:CodeWithSouma/blog-website.git

Install the Dependencies

Next, from the project folder, install the dependencies:

npm i

Start the Server

node app.js

This will launch the Node server on port 3000. If that port is busy, you can set a different port in app.js.

Open up your browser and head over to:

http://localhost:3000/

You should see the home page. That confirms that you have set up everything successfully.

If you want to create your post then you have to go this link

http://localhost:3000/compose