{"id":20768120,"url":"https://github.com/basster/hs-bremen-web-api","last_synced_at":"2025-04-30T11:23:52.141Z","repository":{"id":142981655,"uuid":"50238748","full_name":"Basster/hs-bremen-web-api","owner":"Basster","description":null,"archived":false,"fork":false,"pushed_at":"2016-07-19T16:29:26.000Z","size":1967,"stargazers_count":6,"open_issues_count":0,"forks_count":12,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-30T15:46:59.745Z","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/Basster.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":"2016-01-23T13:08:36.000Z","updated_at":"2016-05-19T02:05:52.000Z","dependencies_parsed_at":"2023-06-12T05:45:27.957Z","dependency_job_id":null,"html_url":"https://github.com/Basster/hs-bremen-web-api","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Basster%2Fhs-bremen-web-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Basster%2Fhs-bremen-web-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Basster%2Fhs-bremen-web-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Basster%2Fhs-bremen-web-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Basster","download_url":"https://codeload.github.com/Basster/hs-bremen-web-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251689238,"owners_count":21627871,"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-11-17T11:35:44.626Z","updated_at":"2025-04-30T11:23:52.123Z","avatar_url":"https://github.com/Basster.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web-API | HS-Bremen @ SoSe 2016 \n\n## Benötigte Software\n- [Git](https://git-scm.com/) (Quellcodeverwaltung)\n- [VirtualBox](https://www.virtualbox.org/) (Virtualisierungs Software)\n- [Vagrant](https://www.vagrantup.com/) (Automatisierte VM Konfiguration)\n- [XAMPP](https://www.apachefriends.org) oder lokale PHP Installation (für lokale Tests [geht auch ohne])\n- [Composer](https://getcomposer.org/) PHP Paketmanager (geht auch ohne, über die VM)\n- Einen Editor (vorzugsweise PhpStorm)\n\n## Initiales Setup\n1. Klone dieses Repository `git clone git@github.com:Basster/hs-bremen-web-api.git`\n2. Wechsel in das Verzeichnis `cd hs-bremen-web-api`\n3. Starte die VM mit `vagrant up`\n4. Warte bis die VM erstellt wurde, währenddessen folgendes, als neue Zeile, in die Datei `C:\\Windows\\System32\\drivers\\etc\\hosts` bzw. `/etc/hosts/` eintragen (Als Administrator/root bearbeiten):  \n```\n192.168.56.111 web-api.vm\n```\n5. Wenn die VM fertig gebaut ist, sieht das in etwa so aus:  \n```\n       + Zwei Elefanten +++++++++++ Zwei Elefanten +\n       \n       + Viel Text +++++++++++++++++++++ Viel Text +\n       \n ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n |  ____                _      _    _                    _  |\n | |  _ \\ ___  __ _  __| |    / \\  | |__   _____   _____| | |\n | | |_) / _ \\/ _` |/ _` |   / _ \\ | '_ \\ / _ \\ \\ / / _ \\ | |\n | |  _ \u003c  __/ (_| | (_| |  / ___ \\| |_) | (_) \\ V /  __/_| |\n | |_| \\_\\___|\\__,_|\\__,_| /_/   \\_\\_.__/ \\___/ \\_/ \\___(_) |\n |                                                          |\n ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++       \n```\n6. Installiere die erforderlichen PHP Pakete: `composer install` (wenn lokale PHP Installation, sonst unter `/var/www/sources` per SSH auf der VM)\n7. Browser öffnen und `http://web-api.vm/` eingeben.\n8. Das `hs-bremen-web-api` Verzeichnis im Editor deiner Wahl öffnen.\n\n## Vor jeder Session\n1. `vagrant up` (dauert jetzt nicht mehr so lange)\n\n## Nach jeder Session\n1. `vagrant halt` (fährt die VM runter)\n\n## Per SSH auf die VM\nHost: localhost  \nPort: 2222  \nUser: vagrant  \nPrivate-Key: `./puphpet/files/dot/ssh/id_rsa`  \nKein Password\n\n### Was ist auf der VM installiert?\n- Ubuntu 14.04 LTS x64 (1 CPU, 512 MB RAM)\n- IP: 192.168.56.111\n- Offene Ports: TCP 9000 (xDebug) und TCP 3306 (MySQL)\n- vim, htop\n- nginx\n- PHP 5.6\n- Nodejs 5\n- MariaDB 10.1 (user: root, pw: 123)\n\n## Testen\n```\ncd sources\nphp vendor/bin/phpunit -c phpunit.xml.dist\n```\noder über die IDE\n\n## Swagger UI Standalone\n\nhttps://github.com/swagger-api/swagger-ui#build  \n\nBenötigt npm und python! \n \n- npm install\n- npm run serve\n- Browser: http://localhost:8080/\n  \nTODO: PhpStorm Setup beschreiben!\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasster%2Fhs-bremen-web-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasster%2Fhs-bremen-web-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasster%2Fhs-bremen-web-api/lists"}