index.ts 254 Bytes
import express from 'express';

const app = express();
const PORT = 8008;

app.get('/', (req, res) => res.send('Express + TypeScript Server'));

app.listen(PORT, () => {
  console.log(`⚡️[server]: Server is running at http://localhost:${PORT}`);
});