
1,067 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
JSON SERVER
npm init -y -> package.json erstellen
"start": "json-server --watch db.json" (in package scripts schreiben)
[npm install json-server]
npm start
JAVASCRIPT SERVER
npm init -y -> package.json erstellen
"start": "live-server --port=4000" (in package scripts schreiben=
[npm install json-server]
[npm install w3-css]
npm start
FEHLER
json oder live server nicht installiert sind -> npm install -g (json/live)-server -y
port passt nicht --port 0
"server": "json-server --watch db.json"
https://www.npmjs.com/package/json-server