{"id":32827282,"url":"https://github.com/alwoodm/ecotrail-explorer","last_synced_at":"2026-04-13T13:05:16.615Z","repository":{"id":321484809,"uuid":"1086001071","full_name":"alwoodm/ecotrail-explorer","owner":"alwoodm","description":"Projekt edukacyjny przygotowany w ramach zajęć, rozbudowa prostego szablonu PHP o funkcjonalny serwis z kilkoma podstronami.","archived":false,"fork":false,"pushed_at":"2025-10-29T21:11:29.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-07T17:12:34.855Z","etag":null,"topics":["css","database","html","js","oop","oop-php","php","php-oop","sqlite","template"],"latest_commit_sha":null,"homepage":"https://ecotrail.alwood.dev","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alwoodm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-29T20:03:04.000Z","updated_at":"2025-10-29T21:13:32.000Z","dependencies_parsed_at":"2025-10-29T23:21:45.195Z","dependency_job_id":"3e07fe25-bafb-4cdc-9395-d637efeb4545","html_url":"https://github.com/alwoodm/ecotrail-explorer","commit_stats":null,"previous_names":["alwoodm/ecotrail-explorer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alwoodm/ecotrail-explorer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwoodm%2Fecotrail-explorer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwoodm%2Fecotrail-explorer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwoodm%2Fecotrail-explorer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwoodm%2Fecotrail-explorer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alwoodm","download_url":"https://codeload.github.com/alwoodm/ecotrail-explorer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwoodm%2Fecotrail-explorer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31753565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["css","database","html","js","oop","oop-php","php","php-oop","sqlite","template"],"created_at":"2025-11-07T17:02:41.829Z","updated_at":"2026-04-13T13:05:16.607Z","avatar_url":"https://github.com/alwoodm.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EcoTrail Explorer\n\nProjekt edukacyjny przygotowany w ramach zajęć, rozbudowa prostego szablonu PHP o funkcjonalny serwis z kilkoma podstronami. Wszystkie osoby, dane kontaktowe, trasy i historie opisane w projekcie są całkowicie fikcyjne i służą wyłącznie celom demonstracyjnym.\n\n## Wymagania\n- PHP 8.1+ z aktywnymi rozszerzeniami `pdo_sqlite` i `sqlite3`\n- SQLite3 (zwykle wbudowane w PHP)\n- Opcjonalnie Docker oraz Docker Compose\n\n\u003e **Uwaga:**\n\u003e - Na Windowsie włącz `pdo_sqlite`/`sqlite3` w `php.ini` (usuń średnik przed `extension=pdo_sqlite` i `extension=sqlite3`).\n\u003e - Na macOS/Linux upewnij się, że PHP zostało skompilowane z obsługą SQLite lub doinstaluj pakiet (`sudo apt install php8.2-sqlite3`, `brew install php@8.2`, itp.).\n\n## Setup projektu\n\n```bash\ngit clone https://github.com/alwoodm/ecotrail-explorer.git\ncd ecotrail-explorer\n```\n\n\u003e ### Formularz kontaktowy\n\u003e - Integracja korzysta z Web3Forms. Przed wysłaniem na produkcję w pliku `templates/contact.html` odkomentuj linijkę z `access_key` i wstaw własny klucz. Bez tego formularz nie prześle żadnych danych. Klucz można uzyskać bezpłatnie na [web3forms.com](https://web3forms.com/).\n\n### Szybki start (lokalnie)\n1. Zainicjalizuj bazę danych:\n   ```bash\n   php app/init.php\n   ```\n2. Uruchom wbudowany serwer PHP (możesz wybrać inny port):\n   ```bash\n   php -S 127.0.0.1:8000\n   ```\n3. Otwórz przeglądarkę pod adresem `http://127.0.0.1:8000`.\n\n### Szybki start (Docker)\n1. Dostosuj mapowanie portów w `docker-compose.yml` (domyślnie `8080:80`). Lewe `8080` to port hosta – możesz podać własny numer.\n2. Zbuduj i odpal kontener:\n   ```bash\n   docker-compose build\n   docker-compose up -d\n   ```\n3. Aplikacja będzie dostępna pod `http://127.0.0.1:8080` (zmień 8080, jeśli potrzeba).\n4. Kontener sam uruchomi `app/init.php`, gdy `database.db` nie istnieje.\n\n\n## Licencja\nProjekt na licencji [MIT](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falwoodm%2Fecotrail-explorer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falwoodm%2Fecotrail-explorer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falwoodm%2Fecotrail-explorer/lists"}