As a User
I want to persist the changes i have made in a service card
In order to save the changes not only in the frontend for one device, but for any device by fetching the data from a database
Description
We now want to switch from local storage in the frontend to the database so that changes are visible to everyone on every device and browser.
Acceptance criteria
[ ] The made changes on a service card should persist in the database
Tasks
[ ] Create branch database-edit-service-card
[ ] Create API endpoint for the update operation related to service cards
[ ] Implement the API route to handle data retrieval for update
[ ] Send requests to the API endpoint and remove local storage
[ ] Add HTTP requests, in this case PUT, to communicate with the backend
Hi Team ServiceCircle,
LGTM! 🦊 Just one note: For the update operation only PUT is needed:
Add HTTP request (PUT) to communicate with the backend :)
Value proposition
As a User I want to persist the changes i have made in a service card In order to save the changes not only in the frontend for one device, but for any device by fetching the data from a database
Description
We now want to switch from local storage in the frontend to the database so that changes are visible to everyone on every device and browser.
Acceptance criteria
Tasks