A program to save regularly the statistics of CodinGame's puzzles to your MongoDB database.
$ docker pull ghcr.io/mathieusoysal/codingame-puzzles-stats-saver:v1.0.3
$ docker run \
-e MONGODB_PASSWORD=<the password> \
-e MONGODB_USERNAME=<the username> \
-e MONGODB_ADDRESS=<the address> \
-e MONGODB_DATABASE=<the database> \
ghcr.io/mathieusoysal/codingame-puzzles-stats-saver:v1.0.3 --period 24
The --period <number>
argument define the period in hours to execute the saver, you can define this to 0
if you want a unique single execution.
$ git clone https://github.com/MathieuSoysal/CodinGame-Puzzles-stats-saver.git
$ mvn test
note: you don't need a MongoDB database, the project has a embeded MongoDB database for testing
If you have any problems to setup the program do not hesitate to contact me at [email protected]