mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-07 06:08:54 +00:00
backend/frontend init
This commit is contained in:
parent
edad9ff977
commit
acc2ab8fdd
24 changed files with 11303 additions and 0 deletions
13
code/backend/src/server.ts
Normal file
13
code/backend/src/server.ts
Normal file
|
@ -0,0 +1,13 @@
|
|||
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}`);
|
||||
});
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue