9 lines
219 B
TypeScript
Raw Normal View History

2022-06-21 23:30:11 +02:00
import "dotenv/config";
import logger from "./src/logger";
import app from "./src/app";
2022-06-29 22:19:50 +02:00
2022-06-21 23:30:11 +02:00
// start the Express server
app.listen(process.env.PORT, () => {
2022-07-06 14:59:38 +02:00
logger.info(`server started at port ${process.env.PORT}`);
2022-06-21 23:30:11 +02:00
});