Skip to content

pandas9/openauth-hono-nextjs-hyperdrive

Repository files navigation

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

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

Run

pnpm -r --parallel dev

Recommended

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published