- move data creation to ApiController to prepare separate frontend
- experiment with rust router (
par_iter()
) - cleanup frontend
You have to register a user and apply for an API Key https://www.marktstammdatenregister.de/MaStRHilfe/subpages/webdienst.html
In order to start the application it is recommended to open it in VSCode DevContainer. Then simply run it using:
apachectl start
In case you want to dump the prod data into the local docker db run:
# go into the scripts directory
cd scripts
# use docker to dump the tables. replace <variables> with prod credentials
docker run --rm -i --env DB_USER=<DB_USER> --env DB_PASSWORD=<DB_PASSWORD> --env DB_HOST=<DB_HOST> -v $(pwd)/mysqldumps:/mysqldumps ubuntu bash < dump_into_docker.sh