„init.sh“ ändern
This commit is contained in:
7
init.sh
7
init.sh
@@ -24,6 +24,8 @@ npm init -y --prefix backend
|
||||
# Installiere die notwendigen Backend-Abhängigkeiten inklusive TypeScript und Typendefinitionen
|
||||
npm i --prefix backend express dotenv @types/express @types/dotenv typescript ts-node
|
||||
|
||||
|
||||
|
||||
# Erstelle eine TypeScript-Konfigurationsdatei für das Backend
|
||||
echo '{
|
||||
"compilerOptions": {
|
||||
@@ -69,3 +71,8 @@ EOT
|
||||
# Hinweis: Dieses Skript erstellt eine neue index.ts Datei im Backend/src-Ordner und fügt
|
||||
# die notwendigen Skripte und Abhängigkeiten hinzu. Stelle sicher, dass deine Umgebungsvariablen
|
||||
# und jeglicher anderer benötigter Code korrekt in die index.ts Datei integriert sind.
|
||||
|
||||
|
||||
git init
|
||||
git add .
|
||||
git commit -m "Initial template setup"
|
||||
|
||||
Reference in New Issue
Block a user