Warum zuerst?
Alles andere (Likes, Kommentare) baut darauf auf.
Backend
POST /posts
Felder:
content (Text)
petId
Ownership prüfen:
User darf nur für eigene Pets posten
Response:
kompletter Post (wie im Feed)
Frontend (minimal)
einfacher Text-Input
Pet-Auswahl (Dropdown reicht)
Nach Submit:
Feed neu laden oder
Post oben einfügen (optimistisch optional)
Definition of Done
Post erscheint im Feed
Kein Reload nötig
403 bei fremdem Pet
Warum zuerst?
Alles andere (Likes, Kommentare) baut darauf auf.
Backend
POST /posts
Felder:
content (Text)
petId
Ownership prüfen:
User darf nur für eigene Pets posten
Response:
kompletter Post (wie im Feed)
Frontend (minimal)
einfacher Text-Input
Pet-Auswahl (Dropdown reicht)
Nach Submit:
Feed neu laden oder
Post oben einfügen (optimistisch optional)
Definition of Done
Post erscheint im Feed
Kein Reload nötig
403 bei fremdem Pet
This repo is archived. You cannot comment on issues.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Warum zuerst?
Alles andere (Likes, Kommentare) baut darauf auf.
Backend
POST /posts
Felder:
content (Text)
petId
Ownership prüfen:
User darf nur für eigene Pets posten
Response:
kompletter Post (wie im Feed)
Frontend (minimal)
einfacher Text-Input
Pet-Auswahl (Dropdown reicht)
Nach Submit:
Feed neu laden oder
Post oben einfügen (optimistisch optional)
Definition of Done
Post erscheint im Feed
Kein Reload nötig
403 bei fremdem Pet