backend/src/app.ts
2020-11-24 19:11:52 +01:00

10 lines
314 B
TypeScript

import * as dotenvSafe from 'dotenv-safe';
dotenvSafe.config();
import express from 'express';
const app = express();
const PORT = 4010;
app.get('/', (req, res) => res.send('Express + TypeScript Server'));
app.listen(PORT, () => {
console.log(`⚡️[server]: Server is running at http://localhost:${PORT}`);
});