feat: switch to Astro DB for guestbook
- Add @astrojs/db integration - Define Guestbook schema in db/config.ts - Add seed data for development - Update db.ts to use astro:db - Add guestbook section to homepage with form - Update env vars to use ASTRO_DB_REMOTE_URL
This commit is contained in:
parent
4e2c09b770
commit
79c7aff48b
9 changed files with 365 additions and 37 deletions
|
|
@ -1,5 +1,5 @@
|
|||
TURSO_DATABASE_URL=libsql://your-db.turso.io
|
||||
TURSO_AUTH_TOKEN=your-token
|
||||
ASTRO_DB_REMOTE_URL=libsql://your-db.turso.io
|
||||
ASTRO_DB_APP_TOKEN=your-token
|
||||
GITHUB_CLIENT_ID=your-client-id
|
||||
GITHUB_CLIENT_SECRET=your-client-secret
|
||||
ADMIN_GITHUB_ID=your-github-user-id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue