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

https://github.com/bradymholt/sveltekit-auth-template


https://github.com/bradymholt/sveltekit-auth-template

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        

# sveltekit-auth-template

A SvelteKit / Cloudflare Pages template demonstrating authentication

2022_12_22T15 41 31Z@2x

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