Skip to content

RBhalala/commenting_system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

commenting_system

Commenting system like Hacker News using socket

it will install and configure the following:

  • Mongo
  • Node
  • EJS
  • Express

Prerequisities

To install Mongo DB use https://docs.mongodb.com/manual/administration/install-community/

Start your Mongo server , Run below command to start the Mongo server:

sudo service mongod start

Create database and collections

use commenting_system

db.createCollection("posts")
db.createCollection("comments")
db.createCollection("users")

Running the installer

The following commands must be executed in your local machine

Clone commenting_system with HTTP or download the project:

   $ git clone https://github.com/RBhalala/commenting_system.git

install all the required package

  • Using npm
   $ npm install

Run project using below command

   $ node app.js

About

Commenting system like Hacker News using socket

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published