Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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