sample ExpressJS code
This commit is contained in:
parent
4ef161434c
commit
fb00f50adb
|
@ -0,0 +1,7 @@
|
|||
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}`);
|
||||
});
|
Loading…
Reference in New Issue