Geo module
Add /geo module for public access to:
- /geo: list of countries, https://www.genesys-pgr.org/geo
- /geo/{iso3code}: country page, https://www.genesys-pgr.org/geo/BEL
- /geo/regions: list of GeoRegions from the server, https://www.genesys-pgr.org/geo/regions
- /geo/region/{code}: GeoRegion details, https://www.genesys-pgr.org/geo/regions/021
Implement a new API v1 GeoController
in genesys2-server project to support the frontend.
Please implement a .../details/{iso3code}
endpoint that returns an object with:
public Country details;
public List<FaoInstitute> institutes;
public Map<String, List<Term>> overview; // Let's discuss
See implementation of details API endpoint for crops.