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: 11 days ago
JSON representation

A REST API starter for cloudflare worker using Hono

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
```