15 lines
291 B
TypeScript
15 lines
291 B
TypeScript
import express from "express";
|
|
import { setupRoutes } from "@/src/routes/routeHandler.route.js";
|
|
|
|
const startApp = async () => {
|
|
const app = express();
|
|
const baseUrl = "";
|
|
setupRoutes(baseUrl, app);
|
|
|
|
app.listen(3000, () => {
|
|
console.log("Listening on port 3000");
|
|
});
|
|
};
|
|
|
|
startApp();
|