{"id":28276599,"url":"https://github.com/jonikanerva/psstore","last_synced_at":"2026-05-03T07:47:56.470Z","repository":{"id":40950514,"uuid":"137982605","full_name":"jonikanerva/psstore","owner":"jonikanerva","description":"new, discounted, and upcoming games in playstation store finland","archived":false,"fork":false,"pushed_at":"2026-02-17T19:12:08.000Z","size":2641,"stargazers_count":1,"open_issues_count":13,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-05-03T07:47:44.180Z","etag":null,"topics":["parcel","ramda","react","typescript"],"latest_commit_sha":null,"homepage":"https://psstore.calmdonut.com","language":"TypeScript","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/jonikanerva.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}},"created_at":"2018-06-20T05:06:08.000Z","updated_at":"2026-02-17T19:12:14.000Z","dependencies_parsed_at":"2023-02-08T15:46:08.341Z","dependency_job_id":null,"html_url":"https://github.com/jonikanerva/psstore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jonikanerva/psstore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonikanerva%2Fpsstore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonikanerva%2Fpsstore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonikanerva%2Fpsstore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonikanerva%2Fpsstore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonikanerva","download_url":"https://codeload.github.com/jonikanerva/psstore/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonikanerva%2Fpsstore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32562118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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":["parcel","ramda","react","typescript"],"created_at":"2025-05-21T05:10:51.941Z","updated_at":"2026-05-03T07:47:56.464Z","avatar_url":"https://github.com/jonikanerva.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PS Store (Client/Server Monorepo)\n\n## Architecture\n\n- `client/` - Vite + React SPA\n- `server/` - Express API + Railway runtime\n- `shared/` - shared types, schemas, and utilities\n\nThe browser talks only to `/api/*`. The server handles Sony GraphQL requests and normalizes data.\n\n## Development\n\n```bash\nnpm install\nnpm run dev\n```\n\n- Client runs on `http://localhost:5173`\n- Server runs on `http://localhost:3000`\n- Vite proxies `/api` to the server in development.\n\n## Quality Gates\n\n```bash\nnpm run lint\nnpm run typecheck\nnpm run test\nnpm run build\n```\n\n## Sony Contract Tooling (Hardcoded Scope)\n\nTooling scope is fixed and immutable:\n- region: `fi`\n- locale: `fi-fi`\n- currency: `EUR`\n- platform: `PS5`\n\nNo sign-in is required.\n\n```bash\n# capture + normalize + validate + diff\nnpm run sony:refresh\n\n# validate canonical manifest against backend assumptions\nnpm run sony:validate\n\n# fail on drift in CI mode\nnpm run sony:diff -- --ci\n```\n\n## Production / Railway\n\n```bash\nnpm install\nnpm run build\nnpm run start\n```\n\nRailway should run the Node server (`npm run start`). In production, Express serves `client/build` and handles SPA fallback routing.\n\n## Environment Variables\n\n- `PORT` (default: `3000`)\n- `NODE_ENV` (`development|test|production`)\n- `SONY_GRAPHQL_URL` (default: `https://web.np.playstation.com/api/graphql/v1/op`)\n- `SONY_CATEGORY_GRID_HASH`\n- `SONY_CATEGORY_ID`\n- `SONY_OPERATION_NAME`\n- `SONY_LOCALE`\n- `SONY_RETRY_COUNT`\n- `SONY_TIMEOUT_MS`\n- `CACHE_TTL_MS`\n\n## Sony GraphQL Contract Update Workflow\n\n1. Run `npm run sony:refresh` against the public fi-fi storefront.\n2. Keep only PS5/EUR relevant operations via built-in scope filtering.\n3. Verify with `npm run sony:validate` and `npm run sony:diff -- --ci`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonikanerva%2Fpsstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonikanerva%2Fpsstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonikanerva%2Fpsstore/lists"}