{"id":51106058,"url":"https://github.com/mickaellherminez/github-user-stories-fake-api","last_synced_at":"2026-06-24T14:01:11.863Z","repository":{"id":359590959,"uuid":"1244789703","full_name":"mickaellherminez/github-user-stories-fake-api","owner":"mickaellherminez","description":"Static JSON mock API for agile user stories, frontend testing, and demos","archived":false,"fork":false,"pushed_at":"2026-05-27T08:48:53.000Z","size":6074,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-17T05:42:46.075Z","etag":null,"topics":["agile","fake-api","frontend-testing","json","mock-api","static-api","user-stories"],"latest_commit_sha":null,"homepage":"https://github.com/mickaellherminez/github-user-stories-fake-api","language":"Python","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/mickaellherminez.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":"2026-05-20T15:45:17.000Z","updated_at":"2026-05-27T08:48:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mickaellherminez/github-user-stories-fake-api","commit_stats":null,"previous_names":["mickaellherminez/github-user-stories-fake-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mickaellherminez/github-user-stories-fake-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mickaellherminez%2Fgithub-user-stories-fake-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mickaellherminez%2Fgithub-user-stories-fake-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mickaellherminez%2Fgithub-user-stories-fake-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mickaellherminez%2Fgithub-user-stories-fake-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mickaellherminez","download_url":"https://codeload.github.com/mickaellherminez/github-user-stories-fake-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mickaellherminez%2Fgithub-user-stories-fake-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34735266,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["agile","fake-api","frontend-testing","json","mock-api","static-api","user-stories"],"created_at":"2026-06-24T14:00:44.867Z","updated_at":"2026-06-24T14:01:11.851Z","avatar_url":"https://github.com/mickaellherminez.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub User Stories Fake API (Static JSON)\n\n[![Validate data](https://github.com/mickaellherminez/github-user-stories-fake-api/actions/workflows/validate-data.yml/badge.svg)](https://github.com/mickaellherminez/github-user-stories-fake-api/actions/workflows/validate-data.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)\n\nFree static JSON API for user stories (agile format) hosted directly on GitHub via `raw.githubusercontent.com`.\n\nThis repository is useful for frontend demos, tests, mock backends, workshops, and API integration exercises.\n\n## Keywords\n\n`fake api`, `mock api`, `json api`, `user stories`, `agile`, `frontend testing`, `raw github api`, `static dataset`\n\n## Base URL\n\n```txt\nhttps://raw.githubusercontent.com/mickaellherminez/github-user-stories-fake-api/main/data\n```\n\n## API Endpoints\n\n### Get all user stories\n\n```http\nGET /user-stories.json\n```\n\nFull URL:\n\n```http\nGET https://raw.githubusercontent.com/mickaellherminez/github-user-stories-fake-api/main/data/user-stories.json\n```\n\n### Get one user story by id\n\n```http\nGET /user-stories/{id}.json\n```\n\nExamples:\n\n```http\nGET https://raw.githubusercontent.com/mickaellherminez/github-user-stories-fake-api/main/data/user-stories/1.json\nGET https://raw.githubusercontent.com/mickaellherminez/github-user-stories-fake-api/main/data/user-stories/2.json\nGET https://raw.githubusercontent.com/mickaellherminez/github-user-stories-fake-api/main/data/user-stories/3.json\nGET https://raw.githubusercontent.com/mickaellherminez/github-user-stories-fake-api/main/data/user-stories/4.json\nGET https://raw.githubusercontent.com/mickaellherminez/github-user-stories-fake-api/main/data/user-stories/5.json\n... up to\nGET https://raw.githubusercontent.com/mickaellherminez/github-user-stories-fake-api/main/data/user-stories/30.json\n```\n\n## Data Model\n\nEach user story contains:\n\n- `id` and `index` (`US-001`, `US-002`, ...)\n- `title` and `description`\n- `constraints` (business rules)\n- `acceptanceCriteria` (Given/When/Then format)\n- `priority` (`low` | `medium` | `high`)\n- `status` (`draft` | `ready` | `in-progress` | `done`)\n- `images` (mockup URLs)\n\n## Machine-Readable Specs\n\n- OpenAPI spec: [`openapi.yaml`](./openapi.yaml)\n- JSON Schema: [`data/user-story.schema.json`](./data/user-story.schema.json)\n\n## Fetch Example (TypeScript)\n\n```ts\nconst BASE_URL =\n  'https://raw.githubusercontent.com/mickaellherminez/github-user-stories-fake-api/main/data';\n\nexport async function getAllUserStories() {\n  const response = await fetch(`${BASE_URL}/user-stories.json`);\n  if (!response.ok) throw new Error('Failed to fetch user stories');\n  return response.json();\n}\n\nexport async function getUserStoryById(id: number) {\n  const response = await fetch(`${BASE_URL}/user-stories/${id}.json`);\n  if (!response.ok) throw new Error(`Failed to fetch user story with id ${id}`);\n  return response.json();\n}\n```\n\n## Stability Note\n\nIf you need immutable URLs for production demos, use a commit SHA in the URL instead of `main`.\n\n## Repository Structure\n\n```txt\ndata/\n  user-story.schema.json\n  user-stories.json\n  user-stories/\n    1.json\n    ...\n    30.json\n  img/\nopenapi.yaml\nscripts/\n  validate_data.py\n.github/\n  workflows/\n    validate-data.yml\n```\n\n## Quality Checks\n\nData consistency is validated in CI:\n\n- every `data/user-stories/{id}.json` entry must match `data/user-stories.json`\n- required fields and enums are validated\n- ids, indexes, and image URLs are validated\n- the repository currently ships 30 user stories\n\n## License\n\nMIT. See [`LICENSE`](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmickaellherminez%2Fgithub-user-stories-fake-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmickaellherminez%2Fgithub-user-stories-fake-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmickaellherminez%2Fgithub-user-stories-fake-api/lists"}