Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/okym-t/remix-cloudflare-workers-starterkit
Remix + Cloudflare Workers + Wrangler2 + Tailwind + ESLint + Prettier + Vitest + Playwright
https://github.com/okym-t/remix-cloudflare-workers-starterkit
Last synced: 3 months ago
JSON representation
Remix + Cloudflare Workers + Wrangler2 + Tailwind + ESLint + Prettier + Vitest + Playwright
- Host: GitHub
- URL: https://github.com/okym-t/remix-cloudflare-workers-starterkit
- Owner: okym-t
- License: mit
- Created: 2022-05-21T20:33:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-27T01:25:18.000Z (12 months ago)
- Last Synced: 2024-05-14T03:07:03.174Z (6 months ago)
- Language: TypeScript
- Homepage:
- Size: 149 KB
- Stars: 53
- Watchers: 1
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-Remix - remix-cloudflare-workers-starterkit
README
# Welcome to Remix!
- [Remix Docs](https://remix.run/docs)
## Development
You will be running two processes during development:
- The Miniflare server (miniflare is a local environment for Cloudflare Workers)
- The Remix development serverBoth are started with one command:
```sh
npm run dev
```Open up [http://127.0.0.1:8787](http://127.0.0.1:8787) and you should be ready to go!
If you want to check the production build, you can stop the dev server and run following commands:
```sh
npm run build
npm start
```Then refresh the same URL in your browser (no live reload for production builds).
## Deployment
Use [wrangler](https://developers.cloudflare.com/workers/cli-wrangler) to build and deploy your application to Cloudflare Workers. If you don't have it yet, follow [the installation guide](https://developers.cloudflare.com/workers/cli-wrangler/install-update) to get it setup. Be sure to [authenticate the CLI](https://developers.cloudflare.com/workers/cli-wrangler/authentication) as well.
If you don't already have an account, then [create a cloudflare account here](https://dash.cloudflare.com/sign-up) and after verifying your email address with Cloudflare, go to your dashboard and set up your free custom Cloudflare Workers subdomain.
Once that's done, you should be able to deploy your app:
```sh
npm run deploy
```