{"id":15603408,"url":"https://github.com/alexwebgr/socialgraphapp","last_synced_at":"2026-07-09T11:31:27.023Z","repository":{"id":14757275,"uuid":"17478557","full_name":"alexwebgr/socialGraphApp","owner":"alexwebgr","description":"Visualizing connections between users in a social network","archived":false,"fork":false,"pushed_at":"2014-03-06T13:56:30.000Z","size":240,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-02T18:05:55.770Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://alex-web.gr/socialGraphApp","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"getredash/redash","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexwebgr.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}},"created_at":"2014-03-06T13:31:21.000Z","updated_at":"2014-03-06T13:56:30.000Z","dependencies_parsed_at":"2022-09-19T05:10:16.995Z","dependency_job_id":null,"html_url":"https://github.com/alexwebgr/socialGraphApp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexwebgr%2FsocialGraphApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexwebgr%2FsocialGraphApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexwebgr%2FsocialGraphApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexwebgr%2FsocialGraphApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexwebgr","download_url":"https://codeload.github.com/alexwebgr/socialGraphApp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241802545,"owners_count":20022668,"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-10-03T03:03:07.921Z","updated_at":"2025-10-30T06:15:08.941Z","avatar_url":"https://github.com/alexwebgr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Task Social Graph\nThis task is designed to give people an idea of how a developer would approach software development problems.\n\nKey points of interest would be\n\n* the structure the database\n* the structure of the code\n* whether or not the solution is extensible\n\n### Problem Description\nThe purpose of this task is to create a method of examining a social network.\n* Each person listed has one or more connections within the group.\n* Come up with a data structure to store and query the information found in the JSON file found at /data.json.\n* Create a public API in the language of choice which allows for three basic operations to be\nexecuted for a certain person\n    * **Direct friends:** Return those people who are directly connected to the chosen person.\n    * **Friends of friends:** Return those who are two steps away, but not directly connected to the chosen person.\n\nThe API can be exposed as public functions, a REST-endpoint, a command line interface,whatever fits the chosen technology stack best.\n\n### Requirements\n* Object oriented design\n* Provide information on how to setup and use the solution\n\n### Suggestions\n* VCS should be used\n\n## Implementation\n\n### Prerequisites\n1. mysql server - tested on 5.6.12\n2. php - tested on 5.4.12 with the following extensions enabled\n    * php_mysql\n    * php_pdo_mysql\n3. modern browser - tested on\n    * firefox 27\n    * chrome 33\n    * Internet Explorer 11\n\n### Installation\n1. clone repo under your server web root. Let's assume http://localhost/socialGraphApp\n2. run http://localhost/socialGraphApp/api/db/createDB\n3. run http://localhost/socialGraphApp/api/user/insertUsers\n4. run http://localhost/socialGraphApp/api/user/insertFriends\n\n### Run\n1. go to http://localhost/socialGraphApp\n2. follow on-screen instructions\n3. have fun !\n\n### Feedback\nComments, criticism, praise are all welcomed !\nCreate an issue or send me an email at email@alex-web.gr\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexwebgr%2Fsocialgraphapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexwebgr%2Fsocialgraphapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexwebgr%2Fsocialgraphapp/lists"}