Replica of the reference start page: wallpaper, serif clock, search bar and link cards, as a TanStack Start app. - Better Auth: email/password and OIDC single sign-on - Postgres with Drizzle for the auth tables, cards, links, settings and uploaded wallpapers; the server applies the migrations on start - cards group links; links are dragged inside and between cards - search with DuckDuckGo, SearXNG or Google, suggestions and / commands - settings page: name, search engine, wallpaper, account - UI from collabry-components, copied into src/vendor/collabry - Dockerfile and a Gitea workflow that checks the code, builds the image for amd64 and arm64 and pushes it to the registry on main
15 lines
294 B
TypeScript
15 lines
294 B
TypeScript
import { defineConfig } from "drizzle-kit"
|
|
|
|
try {
|
|
process.loadEnvFile()
|
|
} catch {
|
|
// no .env file: use the real environment
|
|
}
|
|
|
|
export default defineConfig({
|
|
dialect: "postgresql",
|
|
schema: "./src/db/schema.ts",
|
|
out: "./drizzle",
|
|
dbCredentials: { url: process.env.DATABASE_URL! },
|
|
})
|