{"id":16820527,"url":"https://github.com/techniq/sveltekit-drizzle","last_synced_at":"2025-08-13T18:04:44.615Z","repository":{"id":215533417,"uuid":"636495197","full_name":"techniq/sveltekit-drizzle","owner":"techniq","description":"Experimenting with SvelteKit, Drizzle ORM, Lucia, Superforms, and more","archived":false,"fork":false,"pushed_at":"2023-11-10T20:14:44.000Z","size":700,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-17T15:26:02.597Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techniq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-05T01:26:05.000Z","updated_at":"2024-05-14T06:11:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"d0282395-4eb4-4ac8-b107-32928ab3aa04","html_url":"https://github.com/techniq/sveltekit-drizzle","commit_stats":null,"previous_names":["techniq/sveltekit-drizzle"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/techniq/sveltekit-drizzle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techniq%2Fsveltekit-drizzle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techniq%2Fsveltekit-drizzle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techniq%2Fsveltekit-drizzle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techniq%2Fsveltekit-drizzle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techniq","download_url":"https://codeload.github.com/techniq/sveltekit-drizzle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techniq%2Fsveltekit-drizzle/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270286480,"owners_count":24558611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T10:57:07.131Z","updated_at":"2025-08-13T18:04:44.525Z","avatar_url":"https://github.com/techniq.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# New Tech Stack\n\n- SvelteKit\n- Drizzle ORM\n  - Zod integration\n- Lucia\n  - Drizzle integration\n- Superforms\n  - Client and server-side validation\n  - SvelteKit actions, works without javascript\n  - Zod integration\n- Zod\n- Postgres (Neon)\n- Redis (Upstash)\n- Storage (Cloudflare R2)\n\n## Setup SvelteKit / Vercel\n\n- [Tutorial — SvelteKit and Drizzle-ORM](https://blog.robino.dev/posts/drizzle-svelte)\n- `vercel login`\n- `vercel link`\n- `verecel git connect`\n\n## Run server\n\n- `vercel env pull .env.development.local`\n  - Pull any changes added to vercel [environment variables](https://vercel.com/techniq/sveltekit-drizzle/settings/environment-variables)\n  - Setup `DATABASE_URL` if needed\n- `npm run dev`\n\n## [Drizzle](https://github.com/drizzle-team/drizzle-orm)\n\n- [Quick start](https://orm.drizzle.team/docs/quick-start)\n- [Migrations](https://github.com/drizzle-team/drizzle-kit-mirror)\n- [drizzle-zod](https://github.com/drizzle-team/drizzle-orm/blob/main/drizzle-zod)\n\n### Update model\n\n- Update `schema.ts`\n- `npm run migrate`\n- `npm run migrate:apply` or run generated SQL scripts (lists in console, or view `drizzle` directory)\n\n## [Lucia](https://lucia-auth.com/)\n\n- [API](https://lucia-auth.com/custom-adapters/api)\n- [SvelteKit](https://lucia-auth.com/adapters/drizzle?sveltekit)\n- [Database Schema](https://lucia-auth.com/adapters/postgresql#database-schem)\n- [OAuth](https://lucia-auth.com/oauth/start-here/getting-started) / [Github](https://lucia-auth.com/oauth/providers/github)\n\n## [Superforms](https://superforms.vercel.app/)\n\n## Environment Variables\n\nCurrent variables defined using Vercel dashboard (setting up Vercel Postgres or Vercel Neon integration)\n\n```js\nconsole.log({\n\t// Vercel\n\tPOSTGRES_URL: env.POSTGRES_URL,\n\tPOSTGRES_HOST: env.POSTGRES_HOST,\n\tPOSTGRES_USER: env.POSTGRES_USER,\n\tPOSTGRES_PASSWORD: env.POSTGRES_PASSWORD,\n\tPOSTGRES_DATABASE: env.POSTGRES_DATABASE,\n\n\t// Neon\n\tDATABASE_URL: env.DATABASE_URL,\n\tPGHOST: env.PGHOST,\n\tPGUSER: env.PGUSER,\n\tPGPASSWORD: env.PGPASSWORD,\n\tPGDATABASE: env.PGDATABASE\n});\n```\n\n## Hosting\n\n- [Vercel (web)](https://vercel.com)\n- [Neon (Postgres)](https://console.neon.tech)\n- [Upstash (Redis)](https://console.upstash.com/)\n- [Cloudflare (R2)](https://dash.cloudflare.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechniq%2Fsveltekit-drizzle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechniq%2Fsveltekit-drizzle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechniq%2Fsveltekit-drizzle/lists"}