{"id":18698191,"url":"https://github.com/dodycode/remix-nextui-cloudflare","last_synced_at":"2025-04-12T07:32:51.895Z","repository":{"id":226737006,"uuid":"769517814","full_name":"dodycode/remix-nextui-cloudflare","owner":"dodycode","description":"Remix + Vite + Next UI + Cloudflare starter template.","archived":false,"fork":false,"pushed_at":"2024-07-15T01:35:33.000Z","size":243,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-07-15T02:42:37.601Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://remix-nextui-cloudflare.pages.dev/","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/dodycode.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}},"created_at":"2024-03-09T09:59:27.000Z","updated_at":"2024-07-15T01:42:32.000Z","dependencies_parsed_at":"2024-03-09T11:25:20.453Z","dependency_job_id":"e0bcaa6e-0b20-4807-b180-0ad4a06df9aa","html_url":"https://github.com/dodycode/remix-nextui-cloudflare","commit_stats":null,"previous_names":["dodycode/remix-nextui-cloudflare"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodycode%2Fremix-nextui-cloudflare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodycode%2Fremix-nextui-cloudflare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodycode%2Fremix-nextui-cloudflare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodycode%2Fremix-nextui-cloudflare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dodycode","download_url":"https://codeload.github.com/dodycode/remix-nextui-cloudflare/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223504966,"owners_count":17156439,"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-07T11:27:22.078Z","updated_at":"2024-11-07T11:27:22.798Z","avatar_url":"https://github.com/dodycode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to Remix + Vite + NextUI + Cloudflare\n\n📖 See the [Remix docs](https://remix.run/docs) and the [Remix Vite docs](https://remix.run/docs/en/main/future/vite) for details on supported features.\n\n## Getting Started\n\n```shellscript\nnpx create-remix@latest --template https://github.com/dodycode/remix-nextui-cloudflare\n```\n\n## Built in theme switcher\n\n![theme switcher](theme-switcher.png)\n\n# Hooks\n\nThis template comes with a few hooks to help you get started.\n\n# API Wrapper\n\nThis template has a built in API wrapper that you can use to fetch data from your API in your loader functions or actions.\n\n```js\nimport apiClient from \"~/utils/api\";\n\nexport const loader = async ({ request }) =\u003e {\n  const data = await apiClient.get(\"/api/data\");\n  return json(data);\n};\n```\n\n## Typegen\n\nGenerate types for your Cloudflare bindings in `wrangler.toml`:\n\n```sh\nnpm run typegen\n```\n\nYou will need to rerun typegen whenever you make changes to `wrangler.toml`.\n\n## Development\n\nRun the Vite dev server:\n\n```sh\nnpm run dev\n```\n\nTo run Wrangler:\n\n```sh\nnpm run build\nnpm run start\n```\n\n## Deployment\n\n\u003e [!WARNING]  \n\u003e Cloudflare does _not_ use `wrangler.toml` to configure deployment bindings.\n\u003e You **MUST** [configure deployment bindings manually in the Cloudflare dashboard][bindings].\n\nFirst, build your app for production:\n\n```sh\nnpm run build\n```\n\nThen, deploy your app to Cloudflare Pages:\n\n```sh\nnpm run deploy\n```\n\n[bindings]: https://developers.cloudflare.com/pages/functions/bindings/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdodycode%2Fremix-nextui-cloudflare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdodycode%2Fremix-nextui-cloudflare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdodycode%2Fremix-nextui-cloudflare/lists"}