initial commit

This commit is contained in:
2026-02-24 11:30:24 +01:00
commit 47f9a25834
178 changed files with 18440 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
import alchemy from "alchemy";
import { TanStackStart } from "alchemy/cloudflare";
import { config } from "dotenv";
config({ path: "./.env" });
config({ path: "../../apps/web/.env" });
const app = await alchemy("kk");
export const web = await TanStackStart("web", {
cwd: "../../apps/web",
bindings: {
DATABASE_URL: alchemy.secret.env.DATABASE_URL!,
CORS_ORIGIN: alchemy.env.CORS_ORIGIN!,
BETTER_AUTH_SECRET: alchemy.secret.env.BETTER_AUTH_SECRET!,
BETTER_AUTH_URL: alchemy.env.BETTER_AUTH_URL!,
},
});
console.log(`Web -> ${web.url}`);
await app.finalize();

View File

@@ -0,0 +1,19 @@
{
"name": "@kk/infra",
"private": true,
"type": "module",
"scripts": {
"dev": "alchemy dev",
"deploy": "alchemy deploy",
"destroy": "alchemy destroy"
},
"dependencies": {
"dotenv": "catalog:",
"zod": "catalog:"
},
"devDependencies": {
"@kk/config": "workspace:*",
"alchemy": "catalog:",
"typescript": "catalog:"
}
}