Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 753 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 753 Bytes

geo-backend

Geobackend is written in Node js. Its job is to scrapp tournaments from FIDE website, and map them (geolocate) them in latitude-longtitue coordinates. Every Tournament has a location field which is searched in the greekCities.json file. If it is not found there, a query in nominatim api is send, for further mapping.

Then, every time the front-end askes for /tournaments the server repsonse with the tournaments.json file. The file should periodically been updated by running the main scrapping process.

how to run function main() for testing purposes

npx run-func scrapper-fide.js main