Comments section

Development of the back-end and front-end of a comments section according to a design provided by Frontend Mentor.


This is a "comments" section where the visitor can increase or decrease the comment score. To write a comment or reply to a comment, he must create an account and log in. He also has the option of deleting or editing his comments.

Comments section screenshot

Technologies used

For this project, I used TypeScript for the first time to develop the front-end part with React.js. Since this is a small project, I chose to not use Redux to manage the state. Instead, I used the React useContext and useReducer hooks. Regarding the back-end, it is a REST API developed with ExpressJS coupled with a PostgreSQL database. The authentication part uses JSON Web Tokens with an accessToken and a refreshToken.