This commit is contained in:
2024-02-09 12:52:55 +01:00
parent 77e2bfd1e1
commit 30af905443
25 changed files with 0 additions and 32947 deletions

1651
backend/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +0,0 @@
{
"scripts": {
"start": "ts-node src/index.ts",
"build": "tsc",
"dev": "nodemon src/index.ts"
}
}

View File

@@ -1,13 +0,0 @@
// Standard-Einstiegspunkt für die App
import express from 'express';
import dotenv from 'dotenv';
dotenv.config();
const app = express();
const NODE_ENV = process.env.NODE_ENV || 'dev';
const Port = NODE_ENV === "production" ? parseInt(process.env.PORT || '') || 507 : 2210;
app.listen(Port, () => {
console.log(`Server läuft auf Port ${Port}`);
});

View File

@@ -1,14 +0,0 @@
{
"compilerOptions": {
"target": "esnext",
"module": "commonjs",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"outDir": "./dist",
"rootDir": "./src"
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}