Diese IP wird verwendet, um die Apps vom Smartphone aus zu erreichen:
Auf deinem Computer (PowerShell):
cd D:\stamp
node api\server.cjs
Erwartet: API listening on http://127.0.0.1:3000
In einem zweiten Terminal (PowerShell):
cd D:\stamp
$env:PORT=8080; node apps\server.cjs
Erwartet: Apps Server running on http://localhost:8080 (wichtig: Port 8080 im LAN erreichbar)
http://localhost:8080/customer-wallet
http://localhost:8080/cafe-scanner
http://localhost:8080/cafe-issuer-web.html
http://<IP>:8080/customer-wallet
http://<IP>:8080/cafe-scanner
http://<IP>:8080/cafe-issuer-web.html
Der Apps-Server läuft auf Port 8080. Die API läuft auf Port 3000.
http://<IP>:3000/health im
Browser — sollte {"ok":true} zurückgeben.