Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abdallahabusedo/interactive-comments-section


https://github.com/abdallahabusedo/interactive-comments-section

Last synced: 14 days ago
JSON representation

Awesome Lists containing this project

README

        

Readme for the Reviewer

to start the project
* clone the repo
* `` npm i ``
* i used the json server to CRUD operations for the sake of time `` npx json-server --watch data.json -p 3000`` i must run on port 3000
* `` npm run dev `` can be run on port 3001

Requeirments
- [x] build the design
- [x] build the voting functionallty
- [x] build the reply request
- [x] build the add new comment by the user

what has been not done
- [ ] edit the message "but it can be done by making an TextFeild if some condition 'isEditMode' is true turn the typography to this TextFeild with defult value"
- [ ] delete the message "it will be better if i started it with firebase post request to add new id for each record but becouse i used json server i was hrad to manage deleting it but is would be easy if i send a delete request with the parentId and the replyId and delete it from the backend"
- [ ] calculating the time of the message for example "1 day ago" it can be done by receving the createdAt date from the backend and calculate the deffrance between the createdAt and the current date
- [ ] small responsive component hidden

all this task unfortionatly did not done becouse i have a full time job and i done all this work in 8 hours of work.