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

https://github.com/pandas9/openauth-hono-nextjs-hyperdrive

Boilerplate for OpenAuth, Next.js, Hono, Hyperdrive, KV and Cloudflare Pages
https://github.com/pandas9/openauth-hono-nextjs-hyperdrive

cloudflare cloudflare-pages cloudflare-workers hono honojs hyperdrive nextjs openauth

Last synced: 6 months ago
JSON representation

Boilerplate for OpenAuth, Next.js, Hono, Hyperdrive, KV and Cloudflare Pages

Awesome Lists containing this project

README

          

# Boilerplate for OpenAuth, Next.js, Hono, Hyperdrive, KV and Cloudflare Pages

# Note
When I built this openauth wasn't a package on npm, you can safely delete it and just install it from npm

## What's included?

- Monorepo
- RPC, share API specifications between the server and the client
- Drizzle ORM
- OpenAuth
- Hono
- Hyperdrive
- KV
- Next.js
- Cloudflare Pages
- Rate limiting
- R2 file upload

## Setup

```bash
pnpm i
cd packages/openauth
bun run build
cd server
pnpm migrate
```

## Run

```bash
pnpm -r --parallel dev
```

## Recommended

- Use trigger.dev for more complex tasks such as video processing it's also great for queues https://trigger.dev/docs/queue-concurrency

## Why Cloudflare?

- Cheap and reliable
- Fast
- Easy to deploy
- Easy to manage
- Easy to scale
- Easy to use

## Why Hono?

- Fast
- Easy to use
- Better than Next.js API routes