{"id":23181679,"url":"https://github.com/raid-guild/dungeon-master-v2","last_synced_at":"2025-08-18T13:33:53.581Z","repository":{"id":248705144,"uuid":"513170856","full_name":"raid-guild/dungeon-master-v2","owner":"raid-guild","description":"Dungeon Master v2 Monorepo","archived":false,"fork":false,"pushed_at":"2025-06-26T22:21:59.000Z","size":3840,"stargazers_count":1,"open_issues_count":24,"forks_count":2,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-08-12T18:51:23.838Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dungeon-master-black.vercel.app","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/raid-guild.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-07-12T14:16:29.000Z","updated_at":"2025-05-19T11:53:35.000Z","dependencies_parsed_at":"2024-08-09T04:28:26.807Z","dependency_job_id":"1fe20d1d-3af3-4d1a-b556-fa702ee41d93","html_url":"https://github.com/raid-guild/dungeon-master-v2","commit_stats":null,"previous_names":["raid-guild/dungeon-master-v2"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raid-guild/dungeon-master-v2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raid-guild%2Fdungeon-master-v2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raid-guild%2Fdungeon-master-v2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raid-guild%2Fdungeon-master-v2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raid-guild%2Fdungeon-master-v2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raid-guild","download_url":"https://codeload.github.com/raid-guild/dungeon-master-v2/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raid-guild%2Fdungeon-master-v2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271003014,"owners_count":24683219,"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-08-18T02:00:08.743Z","response_time":89,"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":"2024-12-18T08:17:26.930Z","updated_at":"2025-08-18T13:33:52.449Z","avatar_url":"https://github.com/raid-guild.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dungeon Master v2\n\nMonorepo built with [nx](https://nx.dev/)\n\n### How to run locally\n\n1. Copy env file\n\n```sh\ncp apps/frontend/.env.example ./apps/frontend/.env.local\n```\n\n2. Install dependencies with pnpm.\n\n```sh\npnpm\n```\n\n3. Run frontend app locally.\n\n```sh\npnpm dev\n```\n\n4. Open the app in your browser at https://localhost:4200\n\n## using 'nx' workspaces\n\n### common commands\n\nbuild all packages\n\n```sh\npnpm nx run-many --target=build --all\n```\n\nremove a project\n\n```sh\nnpx nx generate @nx/workspace:remove --projectName=\u003cyour project name\u003e\n```\n\ngenerate a new next.js app\n\n```sh\nnpx nx generate @nx/next:application \u003cyour application name\u003e\n```\n\ngenerate a new react library\n\n```sh\nnpx nx generate @nx/react:library \u003cyour component name\u003e\n```\n\n## Running Hasura locally\n\n### Pre-requisites\n\n- Docker\n- Docker Compose\n\n### Steps\n\n1. Copy the `.env.example` file to `.env` and fill in the required credentials.\n   a. the defaults should work for fresh local development\n   b. by default the instance is unsecured and has no permissions or admin secret\n2. Run `docker-compose up -d` to start the Hasura server.\n\nThis will start the Hasura server on port 8080. Connect the frontend above by using the associated variables.\n\n```sh\nNEXT_PUBLIC_API_URL='http://localhost:8080/v1/graphql'\nHASURA_GRAPHQL_ADMIN_SECRET=\n```\n\n### Running a secure instance\n\nIf you want to run a secure instance of Hasura, you can enable the secret, unauthorized role, and JWT authentication. Within the `graphql-engine` service enable these variables:\n\n```js\nHASURA_GRAPHQL_UNAUTHORIZED_ROLE;\nHASURA_GRAPHQL_ADMIN_SECRET;\nHASURA_GRAPHQL_JWT_SECRET;\n```\n\nAlso enable the `HASURA_GRAPHQL_ADMIN_SECRET` variable in the `hasura-setup` service, in case migrations need to be run.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraid-guild%2Fdungeon-master-v2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraid-guild%2Fdungeon-master-v2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraid-guild%2Fdungeon-master-v2/lists"}