Skip to content

CodeWithSouma/blog-website

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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