Jennifer-Hinrichsen / emotion-tracker

https://emotion-tracker-theta.vercel.app
2 stars 1 forks source link

WIP: Backend update/delete #74

Open Leon910 opened 6 hours ago

Leon910 commented 6 hours ago

Value proposition

As a developer, I want to connect to a MongoDB database and implement the ability to update and delete emotion types, so that I can efficiently manage emotions across the application and maintain up-to-date information.

Description

Set up MongoDB connection to handle the update and delete functionality for emotion types. Use useSWR on the frontend to manage real-time data fetching, so that when emotions are updated or deleted, the changes are reflected across the app dynamically. Implement API routes to handle the CRUD operations (Update, Delete) and ensure proper handling of state changes across the app.

Acceptance criteria