Coder Social home page Coder Social logo

sairajsawant / comment-system Goto Github PK

View Code? Open in Web Editor NEW
36.0 1.0 11.0 2.34 MB

Realtime Commenting System

Home Page: https://dev.to/sairajsawant/building-a-real-time-comment-system-in-mern-using-websockets-2b9d

JavaScript 95.19% HTML 2.15% CSS 2.22% Shell 0.45%

comment-system's Introduction

Realtime Commenting System

Single Page Application (SPA) to demonstrate real-time comments using MERN Stack.

Video Walkthrough of Realtime Commenting System

https://youtu.be/8bGpU7fMBU0

Installation

# Clone this repository
git clone https://github.com/sairajsawant/comment-system.git

# Fire up MongoDB container
docker run -d -p 27017:27017 --restart unless-stopped --name commentsmongo mongo

# Fire up Redis container
docker run -d -p 6379:6379 --restart unless-stopped --name commentsredis redis

# Go into the backend directory
cd comment-system/backend

# Install dependencies
npm install

# Start the server
npm start

# Go into main app directory
cd ..

# Install dependencies
npm install

# Start the App
npm start

Features

  • Realtime comments & upvotes/downvotes using WebSockets & Redis

  • JWT based authorization

  • Microservice architecture using Node.js & Express

  • Caching in Redis & Persistent Storage in MongoDB using Mongoose ODM

  • Container based development using Docker

Technology Stack

  • Node.js
  • React
  • MongoDB
  • Redis
  • WebSockets
  • JWT

comment-system's People

Contributors

sairajsawant avatar dependabot[bot] avatar

Stargazers

Santiago Arteaga avatar Gérald M'Bahia avatar Nishtha avatar JackButler avatar Minhaj Sadik avatar Manish   avatar Nagasai avatar  avatar Ali Saydam avatar Sayantan Mondal avatar Paras Sharma avatar Tejaswa Gupta avatar Hoang Tien Dung avatar Maríus Sævarsson avatar Loc Dang avatar  avatar  avatar Lokender Singh avatar Bret avatar  avatar Sibashish Biswas  avatar K-Sato avatar Chau Van Sang avatar Violet (Xinyi) Zhou avatar Shloka Jain avatar  avatar  avatar Nick avatar Amal Salvin avatar Rakesh K avatar sn-timothygoh avatar Zia avatar Seun Somefun avatar Muhammad Sadam Sadewa avatar Zhang jinshan avatar 10seconds avatar

Watchers

Psych0genic avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.