https://github.com/oliverspeir/astro-lucia-drizzle-turso-magiclink
https://github.com/oliverspeir/astro-lucia-drizzle-turso-magiclink
astro drizzle-orm lucia-auth turso
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/oliverspeir/astro-lucia-drizzle-turso-magiclink
- Owner: OliverSpeir
- Archived: true
- Created: 2024-06-17T02:15:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-17T08:41:35.000Z (over 1 year ago)
- Last Synced: 2025-04-09T05:06:42.534Z (8 months ago)
- Topics: astro, drizzle-orm, lucia-auth, turso
- Language: TypeScript
- Homepage:
- Size: 77.1 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Astro Lucia Drizzle Turso Magic Link
1. Proof of concept
3. Need a resend API key to test yourself (very easy no credit card required)
4. Also need a turso account to test yourself (very easy no credit card required)
- `turso auth signup`
- `turso db create `
- `turso db show --url`
- `turso db tokens create `
5. `drizzle-kit generate` && `drizzle-kit migrate` to create the tables in schema initially
## TO DO
1. Polish up code
2. Rate limit
## Resources
- [Lucia Docs](https://lucia-auth.com/)
- [Pilcrow's Book on Auth](https://thecopenhagenbook.com/)
- [Resend](https://resend.com/)
- [Email Verification Guide](https://thecopenhagenbook.com/email-verification)
- [Turso CLI Docs](https://docs.turso.tech/cli/introduction)
- [Drizzle with Turso Docs](https://orm.drizzle.team/learn/tutorials/drizzle-with-turso)