noteshare.space/server/server.ts

9 lines
219 B
TypeScript
Raw Normal View History

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