Initial code

This commit is contained in:
Aslan 2025-12-22 21:58:15 -05:00
parent f4a1afe71b
commit c6d3e066c9
21 changed files with 2446 additions and 0 deletions

15
src/index.ts Normal file
View file

@ -0,0 +1,15 @@
import { config } from "./config.js";
import Fastify from "fastify";
import { testRoutes } from "./controllers/test/routes.js";
const app = Fastify({
logger: true,
});
app.register(testRoutes);
app.listen({ port: config.port }, (err, address) => {
if (err) throw err;
console.log(`Server is now listening on ${address}`);
});