init webseite ts and claude

This commit is contained in:
Philippe Torrel
2026-07-31 13:02:11 +02:00
parent e375bf23bc
commit 56295802c0
617 changed files with 94590 additions and 5826 deletions

View File

@@ -0,0 +1,33 @@
# Aufgabe
- Nach Positionsveränderung (drop, move-up,move-down) sollen alle Positionen der Zeilen als Array festgehalten werden.
```js
const positions = [
{
_id: '6cbe4783-cfb5-4ed7-8196-9d6b55217de0',
position: 1,
},
{
_id: '6cbe4783-cfb5-4ed7-8196-9d6b55217de0',
position: 2,
},
{...}
]
```
- Positionsarray an Server zur Aktualisierung senden (PUT)
```js
'http://127.0.0.1:8000/api/products/positions';
```
- Server: Positionen abfangen und products Array aktualisieren
```js
//ProductModel
updatePosition() {...}
```