chore: initialize SkyMoney (api + prisma + docker-compose) ( still in progress

This commit is contained in:
2025-11-07 22:52:33 -06:00
commit f4160b91db
13 changed files with 2014 additions and 0 deletions

10
api/src/server.ts Normal file
View File

@@ -0,0 +1,10 @@
import Fastify from "fastify";
const app = Fastify({ logger: true });
app.get("/health", async () => ({ ok: true }));
const port = Number(process.env.PORT ?? 8080);
app.listen({ port, host: "0.0.0.0" }).catch((err) => {
app.log.error(err);
process.exit(1);
});