better-auth-cloudflare
Seamlessly integrate better-auth with Cloudflare Workers, D1, Hyperdrive, KV, R2, and geolocation services. CLI for project generation, automated resource provisioning on Cloudflare, and database migrations. Supports Next.js, Hono, and more!
File Explorer
Download Latest Version (.zip)- build-hono-example.yml
- build-opennextjs-example.yml
- build.yml
- cli-build.yml
- cli-test.yml
- continuous-releases.yml
- pre-commit
- auth-generator.ts
- db-generator.ts
- env-d-generator.ts
- helpers.ts
- project-validator.ts
- typescript-validator.ts
- wrangler-generator.ts
- index.ts
- deployment.test.ts
- integration.test.ts
- README.md
- setup.ts
- test-configs.ts
- validators.ts
- auth-generator.test.ts
- cors-origin-replacement.test.ts
- db-generator.test.ts
- env-d-generator.test.ts
- existing-resources.test.ts
- id-extraction.test.ts
- integration-project-validation.test.ts
- migrate-command.test.ts
- migrate-integration.test.ts
- non-interactive-args.test.ts
- pre-existing-resources-config.test.ts
- project-validator.test.ts
- tsconfig.json
- typescript-validator.test.ts
- wrangler-generator.test.ts
- wrangler-toml.test.ts
- .npmignore
- package.json
- README.md
- tsconfig.json
- configuration.md
- r2.md
- custom-domain.spec.ts
- hono.spec.ts
- opennextjs.spec.ts
- 0000_snapshot.json
- 0001_snapshot.json
- _journal.json
- 0000_groovy_manta.sql
- 0001_furry_unicorn.sql
- index.ts
- auth.schema.ts
- index.ts
- schema.ts
- env.d.ts
- index.ts
- .gitignore
- .prettierignore
- .prettierrc
- drizzle.config.ts
- package.json
- README.md
- tsconfig.json
- wrangler.toml
- settings.json
- 0000_snapshot.json
- 0001_snapshot.json
- _journal.json
- 0000_aspiring_supreme_intelligence.sql
- 0001_dry_ulik.sql
- file.svg
- globe.svg
- next.svg
- vercel.svg
- window.svg
- route.ts
- page.tsx
- SignOutButton.tsx
- favicon.ico
- globals.css
- layout.tsx
- page.tsx
- authClient.ts
- index.ts
- button.tsx
- card.tsx
- dialog.tsx
- input.tsx
- label.tsx
- tabs.tsx
- FileUploadDemo.tsx
- auth.schema.ts
- index.ts
- schema.ts
- utils.ts
- middleware.ts
- .gitignore
- .prettierignore
- .prettierrc
- cloudflare-env.d.ts
- components.json
- drizzle.config.ts
- env.d.ts
- next.config.ts
- open-next.config.ts
- package.json
- postcss.config.mjs
- README.md
- tailwind.config.ts
- tsconfig.json
- wrangler.toml
- client.ts
- index.ts
- r2.ts
- schema.ts
- types.ts
- .gitignore
- .npmignore
- .prettierignore
- .prettierrc
- build.config.ts
- CHANGELOG.md
- context7.json
- LICENSE
- package.json
- playwright.config.ts
- README.md
- tsconfig.json
# Installation Guide
1. Get the code
git clone https://github.com/zpg6/better-auth-cloudflare
Downloads the entire project code from GitHub to your computer.
cd better-auth-cloudflare
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install better-auth-cloudflare
Downloads and installs the libraries listed in package.json.
yarn add better-auth-cloudflare
Type this command into your terminal and run it.
pnpm add better-auth-cloudflare
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
