{"id":23257232,"url":"https://github.com/iknowjavascript/comment-section","last_synced_at":"2025-06-24T14:32:43.022Z","repository":{"id":121052422,"uuid":"183335526","full_name":"iKnowJavaScript/Comment-Section","owner":"iKnowJavaScript","description":"Website comment sectionn with Prototypal Oriented Programming","archived":false,"fork":false,"pushed_at":"2019-05-02T08:31:15.000Z","size":65,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-18T21:16:54.026Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iKnowJavaScript.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-25T01:48:37.000Z","updated_at":"2019-05-13T05:49:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"ddb503f0-dbcd-4f27-86b1-5635c2a822f3","html_url":"https://github.com/iKnowJavaScript/Comment-Section","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iKnowJavaScript/Comment-Section","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iKnowJavaScript%2FComment-Section","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iKnowJavaScript%2FComment-Section/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iKnowJavaScript%2FComment-Section/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iKnowJavaScript%2FComment-Section/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iKnowJavaScript","download_url":"https://codeload.github.com/iKnowJavaScript/Comment-Section/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iKnowJavaScript%2FComment-Section/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261694094,"owners_count":23195511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-19T12:27:30.449Z","updated_at":"2025-06-24T14:32:42.984Z","avatar_url":"https://github.com/iKnowJavaScript.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Comment-Section\n\nWebsite comment sectionn with Prototypal Oriented Programming with User, Moderator and Admin functionality.\n\n\u003e User Object should be able to perforrm all these operations and should be available to their Instances through Prototype Inheritance.\n\n- Create a new user.\n- Create a new Comment.\n- Edit his own comment.\n- Get all comment, both his and other user's comment in the section.\n- Delete his personal comment.\n\n\u003e Moderator Object should inherit all User functionality and these -\n\n- Delete any Comment.\n- Delete a single user.\n- Get the list of all users.\n\n\u003e Admin Object should be able to perform all the Operations a User and Moderator Object can Perform Including these -\n\n- Create a moderator.\n- Delete all Comment.\n- Delete all users.\n\n\n\u003e And Comment object that contains the following properties\n- author_id\n- author_name\n- commentMessage\n- comment_id\n- timeCreated\n- dateCreated\n\n\n** **\n\n## Data Persistence\nI will be using array to save my user, moderator, admin and comment objects. \n\n\n## Testing\nJest was used to test every functionality of this Project.     \n\nFeel free to clone and `npm init` to get the feel of the app and `npm test` before adding more functionality if you wish.\n\n## Acknowledgments\n\nThis was a tutorial to further deepens my Knowledge in Object Prototypal Inheritance in JavaScript so feel free to add to it.\n\nArticles on both prototype and testing is available on Medium","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiknowjavascript%2Fcomment-section","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiknowjavascript%2Fcomment-section","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiknowjavascript%2Fcomment-section/lists"}