{"id":24295381,"url":"https://github.com/cherninlab/tcg-engine","last_synced_at":"2025-10-24T19:39:06.818Z","repository":{"id":272641263,"uuid":"912429887","full_name":"cherninlab/tcg-engine","owner":"cherninlab","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-04T16:10:09.000Z","size":598,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-14T07:37:23.195Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cherninlab.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-01-05T14:57:45.000Z","updated_at":"2025-03-04T16:10:12.000Z","dependencies_parsed_at":"2025-01-15T20:16:28.011Z","dependency_job_id":"157e5b95-303b-4afd-b857-2eb743ef3875","html_url":"https://github.com/cherninlab/tcg-engine","commit_stats":null,"previous_names":["cherninlab/tcg-engine"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cherninlab/tcg-engine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cherninlab%2Ftcg-engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cherninlab%2Ftcg-engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cherninlab%2Ftcg-engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cherninlab%2Ftcg-engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cherninlab","download_url":"https://codeload.github.com/cherninlab/tcg-engine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cherninlab%2Ftcg-engine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018221,"owners_count":26086307,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"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":[],"created_at":"2025-01-16T18:49:25.945Z","updated_at":"2025-10-14T07:37:25.473Z","avatar_url":"https://github.com/cherninlab.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rism - Trading Card Game\n\nA complete Trading Card Game (TCG) solution. Rism uses a Cloudflare Workers backend and multiple React frontends (Admin panel and Client). This monorepo provides everything you need to build, manage, and play a TCG-style game.\n\n## Architecture Overview\n\n### Backend (Cloudflare Workers)\n\n- **API Layer**: Hono-based API with OpenAPI documentation\n- **Service Layer**: Handles business logic and data operations\n- **Data Storage**: Uses Cloudflare KV for data persistence\n- **API Documentation**: Includes Scalar API Reference UI\n\n### Frontends\n\n- **Admin Panel**: React application for game administration\n- **Client**: React application for players to interact with the game\n- **Shared Code**: Common types, schemas, and utilities\n\n## Packages\n\n- `server/` - Includes all server logic, including routes `/api`, game configuration, and services.\n- `admin/` - A React app for administrators to manage cards, decks, players, store items, and more.\n- `client/` - A React app for players to build decks, view their collection, participate in matches, and handle their in-game profile.\n- `common/` - Shared TypeScript types, Zod schemas, and utilities used across the server and frontends.\n\n## Installation\n\n1. Clone the repository\n2. Install dependencies with `npm install`\n\n## Development\n\nTo run the entire stack (server, admin, client) in parallel, use:\n\n```bash\nnpm run dev\n```\n\nThis leverages the concurrently package to start the server, admin, and client at once.\n\n## Build \u0026 Production\n\nTo build all packages for production, run:\n\n```bash\nnpm run build\n```\n\nThis will execute the `build` script in each workspace (server, admin, client).\n\n## Deployment\n\n### Deploying the Server (Cloudflare Workers)\n\nThe server is designed to be deployed to Cloudflare Workers using Wrangler:\n\n```bash\ncd server\nnpm run deploy\n```\n\n### Deploying the Frontends (Admin \u0026 Client)\n\nThe React frontends can be deployed to any static hosting service:\n\n1. Build the frontend: `npm run build -w admin` or `npm run build -w client`\n2. Deploy the build output to your preferred hosting service\n\n## Contributing\n\nContributions are welcome! Please follow these steps:\n\n1. Fork the repository\n2. Create a feature branch\n3. Submit a pull request with a clear description of changes\n\n## License\n\nSee the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcherninlab%2Ftcg-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcherninlab%2Ftcg-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcherninlab%2Ftcg-engine/lists"}