This commit is contained in:
2026-08-21 20:44:06 -04:00 Verified
commit 75719cefc0
22 changed files with 3005 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import { createApp } from "./api.js";
import { config } from "./config.js";
import { ensureBootstrapApiKey, initDb } from "./db.js";
import { assertStorageConfigured } from "./storage.js";
async function main() {
assertStorageConfigured();
await initDb();
await ensureBootstrapApiKey();
const app = createApp();
app.listen(config.port, () => {
console.log(`Postplan listening on port ${config.port}`);
});
}
main().catch((error) => {
console.error(error);
process.exit(1);
});