https://github.com/jacob-ebey/remix-hn-deferred
HN clone in Remix utilizing deferrable data
https://github.com/jacob-ebey/remix-hn-deferred
Last synced: about 1 year ago
JSON representation
HN clone in Remix utilizing deferrable data
- Host: GitHub
- URL: https://github.com/jacob-ebey/remix-hn-deferred
- Owner: jacob-ebey
- Created: 2022-06-23T20:10:40.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-31T23:28:54.000Z (over 3 years ago)
- Last Synced: 2025-04-01T20:24:02.035Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://remix-hn-deferred.jacob-ebey.workers.dev
- Size: 510 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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 server
Both 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
```