Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shihabmridha/cfworker-hono-boilerplate
A REST API starter for cloudflare worker using Hono
https://github.com/shihabmridha/cfworker-hono-boilerplate
cloudflare-workers hono honojs
Last synced: 10 days ago
JSON representation
A REST API starter for cloudflare worker using Hono
- Host: GitHub
- URL: https://github.com/shihabmridha/cfworker-hono-boilerplate
- Owner: shihabmridha
- Created: 2023-07-25T14:12:32.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-09-25T14:27:07.000Z (about 1 year ago)
- Last Synced: 2024-10-25T10:36:55.624Z (about 2 months ago)
- Topics: cloudflare-workers, hono, honojs
- Language: TypeScript
- Homepage:
- Size: 43 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Work in progress (D1 database connection)
Create a D1 database from cloudflare dashboard and update your `wrangler.toml` file with proper database name and id.
```
pnpm install
pnpm run dev
```### Staging deployment
Make sure to set proper variables/bindings in `wrangler.toml` file.```
pnpm run deploy:dev
```### Production deployment
Make sure to set proper variables/bindings in `wrangler.toml` file.```
pnpm run deploy:prod
```