mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-07 06:08:54 +00:00
13 lines
285 B
TypeScript
13 lines
285 B
TypeScript
import express, { Request, Response } from 'express';
|
|
|
|
const app = express();
|
|
const port = 3000;
|
|
|
|
app.get('/', (req: Request, res: Response) => {
|
|
res.send('Hallo, Welt mit TypeScript!');
|
|
});
|
|
|
|
app.listen(port, () => {
|
|
console.log(`Server läuft auf http://localhost:${port}`);
|
|
});
|
|
|