Added dynamic DNS resolution for the backend service to prevent Nginx from failing when the backend container is not yet available during startup. Implemented Docker's internal resolver with a 10-second validity period and moved the backend URL to a variable for runtime resolution. Replaced direct proxy_pass with rewrite rule for proper path handling.
Added a new `/api/` proxy configuration in the Nginx setup to forward requests to the backend service. Adjusted the frontend code to use the new `/api` endpoint, improving flexibility and enabling easier deployment.