9 lines
219 B
TypeScript
9 lines
219 B
TypeScript
import "dotenv/config";
|
|
import logger from "./src/logger";
|
|
import app from "./src/app";
|
|
|
|
// start the Express server
|
|
app.listen(process.env.PORT, () => {
|
|
logger.info(`server started at port ${process.env.PORT}`);
|
|
});
|