react18-tools/turborepo-template

View on GitHub
examples/express/src/index.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { log } from "@repo/logger";
import { createServer } from "./server";

const port = process.env.PORT || 5001;
const server = createServer();

server.listen(port, () => {
  log(`api running on ${port}`);
});