https://github.com/bradymholt/sveltekit-auth-template
https://github.com/bradymholt/sveltekit-auth-template
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bradymholt/sveltekit-auth-template
- Owner: bradymholt
- Created: 2022-12-21T06:14:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-10T23:34:33.000Z (about 2 years ago)
- Last Synced: 2025-03-29T06:51:14.296Z (28 days ago)
- Language: TypeScript
- Homepage: https://sveltekit-auth-template.pages.dev/
- Size: 335 KB
- Stars: 14
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sveltekit-auth-template
A SvelteKit / Cloudflare Pages template demonstrating authentication
## Features
- Authentication: register, login, logout, forgot password flow
- Signed JWT stored as cookie
- Deployed to [Cloudflare Pages](https://pages.cloudflare.com/)
- Uses [Cloudflare KV](https://www.cloudflare.com/products/workers-kv/) for key/value storage
- Sends email with [MailChannels](https://blog.cloudflare.com/sending-email-from-workers-with-mailchannels/)
- Validation using [zod](https://github.com/colinhacks/zod)## Commands:
- `npm run dev` - Run dev server
- `npm run deploy` - Deploy to Cloudflare Pages
- `npm run logs` - Tail Cloudflare Worker logs from latest production deployment
- `wrangler pages project create sveltekit-auth-template` - Create Pages project## Reference
- Find packages that work on Workers - https://workers.cloudflare.com/works