{"id":15395663,"url":"https://github.com/jusemon/familytree","last_synced_at":"2025-03-26T06:25:44.005Z","repository":{"id":108040602,"uuid":"459427249","full_name":"jusemon/familytree","owner":"jusemon","description":"Learning PHP...","archived":false,"fork":false,"pushed_at":"2022-02-15T04:33:18.000Z","size":1566,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T08:15:24.184Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/jusemon.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":"2022-02-15T04:30:21.000Z","updated_at":"2022-02-15T04:33:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"5ae7dec7-f5f4-4151-9bed-2d5a503d2c1f","html_url":"https://github.com/jusemon/familytree","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"6acfd27ef333fb036b30ea3c784346700da1ca6f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jusemon%2Ffamilytree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jusemon%2Ffamilytree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jusemon%2Ffamilytree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jusemon%2Ffamilytree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jusemon","download_url":"https://codeload.github.com/jusemon/familytree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245600453,"owners_count":20642301,"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-01T15:29:06.391Z","updated_at":"2025-03-26T06:25:43.980Z","avatar_url":"https://github.com/jusemon.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Familty Tree\n\n## What is Family Tree?\n\nFamily Tree is a full-stack application with a backend written in PHP and a frontend in Angular.\n\nThe application is currently **in-progress** and was made just for fun and for the sake of learning.\n\n## Prerequisites\n\n- Composer installed\n- XAMMP for windows\n- The php internationalize package enabled  (`extension=intl` inside `xampp/php/php.ini`)\n\n## Setup for XAMPP\nFirst, we need to modify the httpd-vhost.conf file, it's under the conf/extra folder of your XAMPP instalation, for example: \n`D:/xampp/apache/conf/extra/httpd-vhost.conf`, we need to add the following:\n\n```xml\nNameVirtualHost *\n\n\u003cVirtualHost *\u003e\n  DocumentRoot \"D:\\xampp\\htdocs\"\n  ServerName localhost\n\u003c/VirtualHost\u003e\n\n\u003cVirtualHost *\u003e\n  DocumentRoot \"D:/xampp/htdocs/familytree/backend/public\"\n  ServerName api.familytree.local\n\u003c/VirtualHost\u003e\n\n\u003cVirtualHost *\u003e\n  DocumentRoot \"D:/xampp/htdocs/familytree/frontend/public\"\n  ServerName app.familytree.local\n\u003c/VirtualHost\u003e\n```\n\nRestarts your apache server.\n\nNow, we need to update (as admin) the hosts file, it's under the drivers/etc folder of your Windows/System32 folder, for example: \n`C:/Windows/System32/drivers/etc/hosts`, we need to add the following:\n\n```ini\n127.0.0.1     api.familytree.local\n127.0.0.1     app.familytree.local\n```\n\nThe preparations are done, we need to clone the familytree project inside the `D:/xampp/htdocs/` folder\n\nUnder the backend subdirectory we need to run compose install\n\nUnder the frontend subdirectory we need to run:\n- npm install\n- npm run build\n\nNow you can enter the http://app.familytree.local/ url\n\nThe backend can be accessed with the http://api.familytree.local/ url\n\nRemember that for update the frontend in the http://app.familytree.local/ you need to run `npm run build` under the frontend folder\n\nFor development you can run npm run start and work in http://localhost:4200/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjusemon%2Ffamilytree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjusemon%2Ffamilytree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjusemon%2Ffamilytree/lists"}