{"id":23395930,"url":"https://github.com/ghindea/acsbook","last_synced_at":"2025-04-08T17:19:44.719Z","repository":{"id":222907063,"uuid":"758701876","full_name":"Ghindea/ACSBook","owner":"Ghindea","description":"Mini social media platform","archived":false,"fork":false,"pushed_at":"2024-02-17T00:02:32.000Z","size":916,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T13:39:00.072Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/Ghindea.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":"2024-02-16T21:55:27.000Z","updated_at":"2024-02-17T00:02:35.000Z","dependencies_parsed_at":"2024-02-16T23:23:36.957Z","dependency_job_id":"ce5ca453-aa96-4eac-abbe-397b92e3dcfe","html_url":"https://github.com/Ghindea/ACSBook","commit_stats":null,"previous_names":["ghindea/acsbook"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ghindea%2FACSBook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ghindea%2FACSBook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ghindea%2FACSBook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ghindea%2FACSBook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ghindea","download_url":"https://codeload.github.com/Ghindea/ACSBook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247888568,"owners_count":21013002,"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-22T07:19:37.010Z","updated_at":"2025-04-08T17:19:44.700Z","avatar_url":"https://github.com/Ghindea.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ACSBook — Mini Social Media Platform\nHomework realized for OOP course, second year, FACC-CSIT\n\nmade by: _[Ghindea Daniel - Teodor](https://github.com/Ghindea) 325CB_\n\n[requirements](./Tema1-2023.pdf)\u0026[description](./Tema1-DocumentațieComenzi-2023.pdf)\n\n---\n\n### Synopsis:\n\nThis program consists of five important classes that define the properties of the objects used and their functionality. \n- `App class` : Being the core of this program, App class has three important roles:\n  \n  - it parses command line arguments to the program;\n  - according to the given arguments, it calls a specific function to perform the required task;\n  - it has a unique static member `acsBook` that holds all the information of the platform (hence `Database` class). \n- `User class` : \n  - Defines all the properties of platform users like their userName, password and a series or lists for their followers, followed users, posts, comments \u0026 liked posts.\n  - Defines behaviors for the users, like creating posts, adding or removing users to their following list, determining the total number of likes received or sorting their posts by date descending\n- `Post class`\n\n  - Defines the properties of the posts like their content, owner, date, number of likes and holds a list of comments\n  - Has methods that determine if a post is owned or liked by a certain user, add or remove comments or increment/decrement the number of likes and comments  \n  - Has a static int member that counts the `numberOfPosts` to give every post a unique ID\n- `Comment class`\n\n    - Similar to a post, a comment has properties like content, owner, date, an associated post and the number of likes\n    - Has similar methods to Post class for liking action\n    - It also has a static int member, `numberOfComments`, for ID identification purposes\n- `Database class`\n\n    - Its purpose is to define how data is stored for processing, similar to a querry sistem \n    - It has three main lists: `usersList`, `postsList`, `commentsList` that holds all the required information\n    - It has methods that operate on these lists which can determine the existence of any type of object in database, sort posts or rank posts/users on different criteria \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghindea%2Facsbook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fghindea%2Facsbook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghindea%2Facsbook/lists"}