have a look at live website : https://rrhythmsharma.github.io/Comment-Widget/
It is built with vanilla-js. It uses local storage of browser to store and retrieve data. i've used functional programming and JS-OOP concept in project. It works as a full-stack web application but instead storing data in server it stores data in user's browser
You can find signIn button by clicking hamberger-icon which opens side-navbar
- User must be logged in
- If user is new then user must signup(algorithm automatically signin if user signup)
- tada! now user is good to go
Click on Add comment
after you signIn. A pop up opens everytime user click on add comment button through which user can add comment messages that's it tada! It show's comment message with information like user name
, user message
, timestamps
, reply button
, upvotes and downvotes