{"id":19290634,"url":"https://github.com/jacob-ebey/remix-dashboard-d1","last_synced_at":"2025-04-22T05:32:33.247Z","repository":{"id":63860572,"uuid":"567112335","full_name":"jacob-ebey/remix-dashboard-d1","owner":"jacob-ebey","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-17T07:40:17.000Z","size":383,"stargazers_count":85,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-01T20:07:11.598Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jacob-ebey.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":"2022-11-17T04:58:52.000Z","updated_at":"2025-02-26T10:13:18.000Z","dependencies_parsed_at":"2022-11-27T20:32:44.996Z","dependency_job_id":null,"html_url":"https://github.com/jacob-ebey/remix-dashboard-d1","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/jacob-ebey%2Fremix-dashboard-d1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacob-ebey%2Fremix-dashboard-d1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacob-ebey%2Fremix-dashboard-d1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacob-ebey%2Fremix-dashboard-d1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jacob-ebey","download_url":"https://codeload.github.com/jacob-ebey/remix-dashboard-d1/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250175096,"owners_count":21387138,"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":[],"created_at":"2024-11-09T22:21:02.764Z","updated_at":"2025-04-22T05:32:32.729Z","avatar_url":"https://github.com/jacob-ebey.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# remix-dashboard-template\n\nA template to get you up and building a dashboard in Remix that runs solely on Cloudflare.\n\n## Development\n\n### Migrations\n\nYou can apply migrations to your development database by running:\n\n```sh\nnpx prisma migrate dev\n```\n\n### Running the app\n\nStart the Remix development asset server and Wrangler by running:\n\n```sh\nnpm run dev\n```\n\nThis starts your app in development mode.\n\n## Deployment\n\n### First deployment\n\nCreate a database:\n\n```sh\nwrangler d1 create remix-dashboard-d1-example-db\n```\n\nApply migrations:\n\n```sh\nwrangler d1 migrations apply remix-dashboard-d1-example-db\n```\n\nBuild and deploy:\n\n```sh\nnpm run build \u0026\u0026 npx wrangler publish\n```\n\n## Subsequent deployments\n\nConfigure a GitHub Actions secrets of `CF_API_TOKEN` with the normal worker deployment permissions + the new D1 write permissions to be able to apply migrations on deployment.\n\nTo trigger a deployment:\n\n- Navigate to the \"Actions\" tab of your GitHub repository\n- Select the \"Deploy\" action\n- Use the dropdown labeled \"Run Workflow\" to select a branch and start the deployment\n\n## Resources\n\n- [Remix Docs](https://remix.run/docs)\n- [CF D1](https://developers.cloudflare.com/d1/)\n- [Prisma Docs](https://www.prisma.io/docs/) (only used for generating migrations)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacob-ebey%2Fremix-dashboard-d1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacob-ebey%2Fremix-dashboard-d1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacob-ebey%2Fremix-dashboard-d1/lists"}