Now, let's focus on implementing the backend of the card modal window, and start with the API handlers.