Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abdallahabusedo/interactive-comments-section
https://github.com/abdallahabusedo/interactive-comments-section
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/abdallahabusedo/interactive-comments-section
- Owner: abdallahabusedo
- Created: 2023-05-30T00:21:48.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-08-11T18:11:31.000Z (about 1 year ago)
- Last Synced: 2024-10-11T06:06:18.153Z (27 days ago)
- Language: JavaScript
- Size: 452 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 3001Requeirments
- [x] build the design
- [x] build the voting functionallty
- [x] build the reply request
- [x] build the add new comment by the userwhat 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 hiddenall this task unfortionatly did not done becouse i have a full time job and i done all this work in 8 hours of work.