Anki
Hinweis: Diese Inhalte wurden mit Unterstützung von Künstlicher Intelligenz erstellt und redaktionell überprüft (Transparenzhinweis gemäß Art. 50 EU AI Act).
Anki
Installation und Starten
Express.js
Grundaufbau einer Express.js Anwendung und Installieren von Express.js
npm init
npm install express
const express = require('express');
const app = express();
app.listen();
Django
Grundaufbau einer Django Anwendung und Installieren von Django
python -m venv .venv source .venv/bin/activate pip install django django-admin startproject Projekt
asp net core
Grundaufbau einer asp net core Anwendung und Installieren von asp net core mvc
dotnet new mvc -au Individual -o Projekt
Moderne javascript funktion erstellen
Konstante Hallo-Funktion erstellen. Ausgabe von Hallo Welt. (Javascript)
{{c1::const hallo= () => {}}
{{c1::console.log('Hallo Welt');}}
{{c1::}}}
Router Aufbau
Router ein Funktion in Express.js erstellen url: "/" und Ausgabe: "Hello World!"
{{c1::app.get('/', (req, res) => {}}
{{c1::res.send('Hello World!');}}
{{c1::}}}
{{c1::};}}
Listen von Express.js
Server auf Port 3000 starten und Ausgabe: "Server läuft auf Port 3000" (Express.js)
{{c1::app.listen('3000', () => {}}
{{c1::console.log('Server läuft auf Port 3000);}}
{{c1::}}}
{{c1::};}}
Hinweis: Diese Inhalte wurden mit Unterstützung von Künstlicher Intelligenz erstellt und redaktionell überprüft (Transparenzhinweis gemäß Art. 50 EU AI Act).