Build React.js Youtube Comment System Using Websocket.js in MongoDB Using JWT & Redis

 

 

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

 

 

Installation


 

 

App.js

 

 

 

 

add-comment.component.js

 

 

 

 

auth-user-component.js

 

 

 

 

home-component.js

 

 

 

 

list-comments-component.js

 

 

 

 

register-user-component.js

 

 

 

 

BACKEND

 

 

npm init -y

 

 

npm i cors bcrypt express mongoose redis express-ws jsonwebtoken

 

 

server.js

 

 

 

 

https://github.com/sairajsawant/comment-system

 

 

Leave a Reply