An open API service indexing awesome lists of open source software.

https://github.com/hamlim/parcel-rsc-template

A quick and simple Parcel RSC template app, built with Hono for Cloudflare Workers
https://github.com/hamlim/parcel-rsc-template

cloudflare hono parcel react-server-components rsc workers

Last synced: 9 days ago
JSON representation

A quick and simple Parcel RSC template app, built with Hono for Cloudflare Workers

Awesome Lists containing this project

README

        

# Parcel RSC Template App

Things to change after using this template:

run `bun ./setup.ts name-of-app`

This will update the following:

- `package.json` `"name"`
- `wrangler.jsonc` `"name"`
- `src/pages/_root.tsx` ``

Then finally update this readme with more details!

Get started with:

- `bun i` to install deps
- `bun run dev` to start the development server
- you may need to run `bun watch` first to build an initial output in the `dist` dir before `bun start` can begin

## Automated Deployments:

For the GitHub Actions deployment workflow to work, you'll need to do the following:

- Go to Repo settings
- Go to Secrets and Variables
- Go to Actions
- Add a New Repository Secret for each of the following:

- `CLOUDFLARE_ACCOUNT_ID`
- This can sometimes be found on the right hand sidebar on the account overview Cloudflare Dashboard page
- Should also be possible to find it under the right hand sidebar on the Workers dashboard page
- `CLOUDFLARE_API_TOKEN`
- This needs to be generated using the Workers read/write permissions
- If you go to your profile (top right dropdown in dashboard pages), then go to API Keys, then create a new key, and use the Workers template