ECMWFCode4Earth / vAirify

code repository for 2024 Code for Earth project #16
0 stars 0 forks source link

Handle invalid city names more appropriately #163

Open rstrange-scottlogic opened 2 days ago

rstrange-scottlogic commented 2 days ago

Currently if you put in a city name that doesn't exist you are sent to a page with no data on it.

Ideally we should be doing some simple validation in our API and returning 404 if the city is invalid. The UI would then show a basic error page.

Acceptance Criteria: