CodinGame-Puzzles-stats-saver

Java program to save regularly the statistics of CodinGame puzzles to a MongoDB database.

APACHE-2.0 License

Stars
0

CodinGame Puzzles Stats Saver GitHub

A program to save regularly the statistics of CodinGame's puzzles to your MongoDB database.

Use the program

Install

$ docker pull ghcr.io/mathieusoysal/codingame-puzzles-stats-saver:v1.0.3

Run

$ 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.

How to contribute

Clone the project

$ git clone https://github.com/MathieuSoysal/CodinGame-Puzzles-stats-saver.git

Test the project

$ mvn test

note: you don't need a MongoDB database, the project has a embeded MongoDB database for testing

Contact

If you have any problems to setup the program do not hesitate to contact me at [email protected]

Badges
Extracted from project README
Vulnerabilities Coverage Maintainability Rating Contributor Covenant GitHub