Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacob-ebey/remix-cloudflare-demo
A demo of Remix running on Cloudflare workers.
https://github.com/jacob-ebey/remix-cloudflare-demo
cloudflare-workers remix
Last synced: 26 days ago
JSON representation
A demo of Remix running on Cloudflare workers.
- Host: GitHub
- URL: https://github.com/jacob-ebey/remix-cloudflare-demo
- Owner: jacob-ebey
- License: mit
- Created: 2021-11-14T20:55:21.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-13T21:08:22.000Z (almost 3 years ago)
- Last Synced: 2024-11-09T22:19:56.232Z (about 1 month ago)
- Topics: cloudflare-workers, remix
- Language: TypeScript
- Homepage: https://remix-cloudflare-demo.jacob-ebey.workers.dev/
- Size: 984 KB
- Stars: 201
- Watchers: 3
- Forks: 34
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-Remix - remix-cloudflare-demo - [demo](https://remix-cloudflare-demo.jacob-ebey.workers.dev/) (Remix Cloudflare)
README
# remix-worker-template
> The current starter template is based on Remix 0.20.1.
- [Remix Docs](https://docs.remix.run)
- [Customer Dashboard](https://remix.run/dashboard)## Give it a try
> The deploy button will guide you through the setup for CF_API_TOKEN and CF_ACCOUNT_ID on the UI. But you are still required to provide the REMIX_TOKEN as a repository secret yourself for the deploy action to work properly.
[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/edmundhung/remix-worker-template)
## Development
To starts your app in development mode, rebuilding assets on file changes, the recommended approach is:
```sh
npm run dev
```This will run your remix app in dev mode using miniflare with the Cypress test runner opened.
## Deployment
First, preview your app with:
```sh
npx wrangler preview
```When confirmed everythings works, deploy the worker with Wrangler using:
```sh
npm run deploy
```