{"id":13562865,"url":"https://github.com/timhaley94/holdem","last_synced_at":"2025-04-03T19:31:42.131Z","repository":{"id":42247278,"uuid":"257466429","full_name":"timhaley94/holdem","owner":"timhaley94","description":"Real time poker in JavaScript","archived":false,"fork":false,"pushed_at":"2023-01-24T02:25:30.000Z","size":3263,"stargazers_count":7,"open_issues_count":26,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-13T20:39:12.504Z","etag":null,"topics":["aws","docker-compose","ecs","full-stack","javascipt","poker","react","terraform","websockets"],"latest_commit_sha":null,"homepage":"https://holdemhounds.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timhaley94.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"docs/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2020-04-21T03:09:40.000Z","updated_at":"2023-03-12T10:44:44.000Z","dependencies_parsed_at":"2023-02-13T12:01:29.703Z","dependency_job_id":null,"html_url":"https://github.com/timhaley94/holdem","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/timhaley94%2Fholdem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timhaley94%2Fholdem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timhaley94%2Fholdem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timhaley94%2Fholdem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timhaley94","download_url":"https://codeload.github.com/timhaley94/holdem/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247065275,"owners_count":20877745,"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":["aws","docker-compose","ecs","full-stack","javascipt","poker","react","terraform","websockets"],"created_at":"2024-08-01T13:01:12.984Z","updated_at":"2025-04-03T19:31:40.972Z","avatar_url":"https://github.com/timhaley94.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eHold'em Hounds\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://codeclimate.com/github/timhaley94/holdem/maintainability\"\u003e\n    \u003cimg src=\"https://api.codeclimate.com/v1/badges/b4b31a8f8cf13a23ca93/maintainability\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://codeclimate.com/github/timhaley94/holdem/test_coverage\"\u003e\n    \u003cimg src=\"https://api.codeclimate.com/v1/badges/b4b31a8f8cf13a23ca93/test_coverage\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://circleci.com/gh/timhaley94/holdem\"\u003e\n    \u003cimg src=\"https://circleci.com/gh/timhaley94/holdem.svg?style=shield\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://app.netlify.com/sites/wizardly-fermat-cab2a8/deploys\"\u003e\n    \u003cimg src=\"https://api.netlify.com/api/v1/badges/1636d5c8-85c2-40cb-91b0-ede8fcd1e2fd/deploy-status\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nBorn of the pandemic, Hold'em Hounds is an (🚧 in development 🚧) poker app that's aiming to\nbring a fresh perspective to a crowded field of garish, clunky apps, desparate to suck you\ninto microtransactions.\n\n## Product priorities\n\nHold'em Hounds should be...\n\n- Multiplayer\n- Free to play\n- Real time\n- Account optional\n- Download optional\n- Not too serious\n- Beautiful\n\n## Directory structure\n\n```\nholdem/\n  .circleci/        --\u003e CI/CD configuration\n  client/           --\u003e Client (React) code\n    src/\n      components/   --\u003e UI Elements\n      data/         --\u003e Constants\n      hooks/        --\u003e Generic React hooks\n      state/        --\u003e Application state (i.e. the \"data layer\")\n      utils/        --\u003e Generic reusable code\n  infrastructure/   --\u003e Infrastructure (Terraform) code\n  server/           --\u003e Server (Node.js) code\n    src/\n      api/          --\u003e View/Controller logic\n      domain/       --\u003e Business logic (i.e. the \"service layer\")\n      loaders/      --\u003e Side effects (i.e. mongo and redis connections)\n      modules/      --\u003e Specific reusable code\n      utils/        --\u003e Generic reusable code\n```\n\n## Development\n\nWhile you you could set up each individual piece of the system locally (i.e. server, client, mongo, redis)\nthe easiest way to run the project is through `docker-compose`. First make sure you have `docker` and\n`docker-compose` installed. Then you can use the `scripts.sh` file which takes a variety of subcommands:\n\nWe have a `scripts.sh` file which takes a includes a number of subcommands. Some options are:\n- `up` stand up the system in the foreground (with logs)\n- `rebuild` force a fresh build of the docker images/containers\n\nFor example, to get the app up and running, run `./scripts.sh up` and then, viola,\n[http:localhost:3000](http:localhost:3000).\n\nThe `docker-compose` configuration supports hot reloading, so once you have it running, your\nchanges to `./client` and `./server` will be respected. However, if you ever need to force a\nrebuild: `./scripts build`.\n\n### Testing and linting\n\nIn order to lint the source code or run the test suite, you'll need to run `npm install` in the\ndirectory in question (i.e. `client` or `server`) and then run either `npm run test` or `npm run lint`.\n\n### High level docs\n\nWe have a couple of diagrams to get a high level feel for the implementation:\n- [Our technical stack](docs/diagrams/the_stack.png)\n- [Our infrastructure](docs/diagrams/infrastructure.png)\n\n## Contributing\n\n1. Read [our contributing guide](docs/CONTRIBUTING.md)\n2. Find a Github issues\n3. Fork this repository (if you aren't a collaborator)\n4. Open a pull request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimhaley94%2Fholdem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimhaley94%2Fholdem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimhaley94%2Fholdem/lists"}