7 lines
182 B
TypeScript
7 lines
182 B
TypeScript
import app from "@server";
|
|
|
|
// Start the server
|
|
const port = Number(process.env.PORT || 8080);
|
|
app.listen(port, () => {
|
|
console.log("Express server started on port: " + port);
|
|
});
|