Spaces:
Sleeping
Sleeping
File size: 382 Bytes
c01955c 0e17177 c01955c | 1 2 3 4 5 6 7 8 9 10 11 12 | import * as dotenv from "dotenv";
import path from "path";
dotenv.config({ path: path.join(process.cwd(), '../.env') });
import { Request, Response } from "express";
import logger from "./logger/create.logger.js";
import app from "./app.js"
const PORT = 3000;
app.listen(PORT, (req: Request, res: Response) => {
logger.info(`Server is starting at http://localhost:${PORT}`)
}) |