2022-06-21 23:30:11 +02:00
|
|
|
import "dotenv/config";
|
2022-07-09 10:35:44 +02:00
|
|
|
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
|
|
|
});
|