initial commit

This commit is contained in:
Jose Selesan
2026-05-28 14:33:16 -03:00
commit 7bc3d9f898
211 changed files with 161253 additions and 0 deletions

18
apps/backend/src/index.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Hono } from "hono";
import { serveStatic } from "hono/bun";
import { startQuoteJob } from "./modules/quotes/quote.job";
import quotesRouter from "./modules/quotes/quotes.routes";
import { logger } from "./lib/logger";
const app = new Hono();
app.route("/api/quotes", quotesRouter);
app.use("/assets/*", serveStatic({ root: "./web" }));
app.get("*", serveStatic({ path: "./web/index.html" }));
startQuoteJob();
logger.info("Backend started");
export default app;