{"id":19218770,"url":"https://github.com/fadilxcoder/fake-api-server","last_synced_at":"2025-02-23T09:14:53.444Z","repository":{"id":39894731,"uuid":"479966279","full_name":"fadilxcoder/fake-api-server","owner":"fadilxcoder","description":"Provide fake REST API endpoints","archived":false,"fork":false,"pushed_at":"2024-04-14T22:52:34.000Z","size":9093,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-15T03:46:10.443Z","etag":null,"topics":["cronjob","faker","github-actions","php","poc","rest-api","typicode"],"latest_commit_sha":null,"homepage":"https://my-json-server.typicode.com/fadilxcoder/fake-api-server","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/fadilxcoder.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}},"created_at":"2022-04-10T09:10:13.000Z","updated_at":"2024-04-16T07:27:04.201Z","dependencies_parsed_at":"2023-10-16T09:31:41.171Z","dependency_job_id":"93d3491b-870d-4eae-b4e8-9af93563dc22","html_url":"https://github.com/fadilxcoder/fake-api-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Ffake-api-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Ffake-api-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Ffake-api-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fadilxcoder%2Ffake-api-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fadilxcoder","download_url":"https://codeload.github.com/fadilxcoder/fake-api-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240292395,"owners_count":19778311,"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":["cronjob","faker","github-actions","php","poc","rest-api","typicode"],"created_at":"2024-11-09T14:28:02.470Z","updated_at":"2025-02-23T09:14:53.393Z","avatar_url":"https://github.com/fadilxcoder.png","language":"PHP","readme":"# Notes\n\n- RUN `php run` to populate with dummy data\n- File should be name : `db.json`\n- URL for API : https://my-json-server.typicode.com/fadilxcoder/fake-api-server\n- JSON server fake api - Glitch URL : https://json-server-fake-api.glitch.me/\n- `id: 1,` should be present in order to query specific data (https://my-json-server.typicode.com/fadilxcoder/fake-api-server/users/2)\n- Can use `\u003cURL\u003e?_id=xxxxx` for queries\n- Newman github action\n- Command : `npm run start` - Start local JSON server\n\n# Docs\n\n- https://github.com/marketplace/actions/composer-php-actions (Use the Composer CLI in your Github Actions.)\n- https://github.com/marketplace/actions/setup-php-environment (Setup PHP environment)\n- https://crontab.guru/ (Cron)\n- Cron `*/2 * * * *` (At 2 minutes interval) / `0 6,18 * * *` (At 12 hours interval 06H00 - 18H00) \n- https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows (Github action - Events that trigger workflows)\n\n### Github Action\n\n- `.github/workflows/newman.yml`\n- `.github/workflows/cron.yml`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffadilxcoder%2Ffake-api-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffadilxcoder%2Ffake-api-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffadilxcoder%2Ffake-api-server/lists"}