{"id":17161152,"url":"https://github.com/j-t-mcc/uptime-backend-api","last_synced_at":"2026-03-07T17:31:17.401Z","repository":{"id":45569934,"uuid":"319131425","full_name":"J-T-McC/uptime-backend-api","owner":"J-T-McC","description":"Website Uptime \u0026 Certificate Monitoring API built using Laravel.","archived":false,"fork":false,"pushed_at":"2025-06-19T00:13:21.000Z","size":1836,"stargazers_count":11,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-19T01:22:24.138Z","etag":null,"topics":["laravel-application","laravel-fortify","laravel-sanctum","spa"],"latest_commit_sha":null,"homepage":"https://uptime.tysonmccarney.com","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/J-T-McC.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}},"created_at":"2020-12-06T21:06:04.000Z","updated_at":"2025-06-19T00:13:25.000Z","dependencies_parsed_at":"2024-06-08T23:51:06.865Z","dependency_job_id":"45eb0235-5665-4c86-8643-23621c712f05","html_url":"https://github.com/J-T-McC/uptime-backend-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/J-T-McC/uptime-backend-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J-T-McC%2Fuptime-backend-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J-T-McC%2Fuptime-backend-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J-T-McC%2Fuptime-backend-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J-T-McC%2Fuptime-backend-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/J-T-McC","download_url":"https://codeload.github.com/J-T-McC/uptime-backend-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J-T-McC%2Fuptime-backend-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30223240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T17:00:40.062Z","status":"ssl_error","status_checked_at":"2026-03-07T17:00:39.026Z","response_time":53,"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":["laravel-application","laravel-fortify","laravel-sanctum","spa"],"created_at":"2024-10-14T22:27:19.906Z","updated_at":"2026-03-07T17:31:17.370Z","avatar_url":"https://github.com/J-T-McC.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Website Uptime \u0026 Certificate Monitoring API\n[![run-tests](https://github.com/J-T-McC/uptime-backend-api/actions/workflows/run_tests.yml/badge.svg?branch=main)](https://github.com/J-T-McC/uptime-backend-api/actions/workflows/run_tests.yml)\n\nThis is an uptime API to be paired with [Uptime VueJS](https://github.com/J-T-McC/uptime-frontend-vue) (or what ever else you want to use it for).\n\nThis is also a personal playground for trying out ecosystem tools and libraries.\n\nYou can try it out at [https://uptime.tysonmccarney.com/](https://uptime.tysonmccarney.com/)\n\n## Requirements\n \n* PHP ^8.3\n \n## Local Installation (docker via sail)\n\n```shell script\n\n# create your environment file\ncp -p .env.example .env;\n\n# install composer dependencies (or run `composer install` if you have composer \u0026 PHP installed locally)\n# see https://laravel.com/docs/11.x/sail#installing-composer-dependencies-for-existing-projects\ndocker run --rm \\\n    -u \"$(id -u):$(id -g)\" \\\n    -v \"$(pwd):/var/www/html\" \\\n    -w /var/www/html \\\n    laravelsail/php84-composer:latest \\\n    composer install --ignore-platform-reqs\n\n# build \u0026 start the docker container. ensure you add your test domain to your host file\n./vendor/bin/sail build \u0026\u0026 ./vendor/bin/sail up -d;\n\n# run the migrations\n./vendor/bin/sail artisan migrate;\n\n# optional test data (test@example.com / password)\n./vendor/bin/sail artisan db:seed --class=LocalDatabaseSeeder;\n\n# optional assign admin role to a user\n# admin role grants access to api.my-domain.com/admin filament and laravel pulse dashboard\n./vendor/bin/sail artisan admin:assign-role-to-user --user-id=1 --role-id=1;\n\n```\n\nSome things to make note of while populating your .env:\n\n1. Laravel Sanctum requires your SPA and backend to share the same root domain. \n2. Make sure your SESSION_DOMAIN value allows cookies to be valid for both domains\n3. Make sure your SANCTUM_STATEFUL_DOMAINS value is set to your SPA domain\n\n```dotenv\n\nAPP_URL=https://api.my-domain.com\nAPP_SPA_URL=https://app.my-domain.com\nSANCTUM_STATEFUL_DOMAINS=app.my-domain.com\nSESSION_DOMAIN=.my-domain.com\n\n```\n\nRun the scheduler to check for uptime and expiring certificates:\n\n```shell script\n\nphp artisan schedule:run\n\n```\n\n## Admin Panel and OpenAPI Documentation\n1. Admin Panel: [http://api.laravel.test/admin](hhttp://api.laravel.test/admin)\n2. OpenAPI Documentation: [http://api.laravel.test/docs/api](hhttp://api.laravel.test/docs/api)\n\n## Notification Channels\n\nCurrently supports:\n* Email\n* Slack Webhooks\n* Discord Webhooks\n* PagerDuty v2 Events API\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj-t-mcc%2Fuptime-backend-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj-t-mcc%2Fuptime-backend-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj-t-mcc%2Fuptime-backend-api/lists"}