https://github.com/mathieusoysal/codingame-puzzles-stats-saver
Java program to save regularly the statistics of CodinGame puzzles to a MongoDB database.
https://github.com/mathieusoysal/codingame-puzzles-stats-saver
codingame-puzzles mongodb
Last synced: about 2 months ago
JSON representation
Java program to save regularly the statistics of CodinGame puzzles to a MongoDB database.
- Host: GitHub
- URL: https://github.com/mathieusoysal/codingame-puzzles-stats-saver
- Owner: MathieuSoysal
- License: apache-2.0
- Created: 2021-12-27T13:13:32.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-18T20:23:24.000Z (about 3 years ago)
- Last Synced: 2025-03-02T22:11:37.565Z (over 1 year ago)
- Topics: codingame-puzzles, mongodb
- Language: Java
- Homepage:
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](https://sonarcloud.io/summary/new_code?id=MathieuSoysal_CodinGame-Puzzles-stats-saver)
[](https://sonarcloud.io/summary/new_code?id=MathieuSoysal_CodinGame-Puzzles-stats-saver)
[](https://sonarcloud.io/summary/new_code?id=MathieuSoysal_CodinGame-Puzzles-stats-saver)

[](CODE_OF_CONDUCT.md)
#
CodinGame Puzzles Stats Saver [](LICENSE)
A program to save regularly the statistics of CodinGame's puzzles to your MongoDB database.
## Use the program
### Install
```bash
$ docker pull ghcr.io/mathieusoysal/codingame-puzzles-stats-saver:v1.0.3
```
### Run
```bash
$ docker run \
-e MONGODB_PASSWORD= \
-e MONGODB_USERNAME= \
-e MONGODB_ADDRESS= \
-e MONGODB_DATABASE= \
ghcr.io/mathieusoysal/codingame-puzzles-stats-saver:v1.0.3 --period 24
```
*The `--period ` 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
```bash
$ git clone https://github.com/MathieuSoysal/CodinGame-Puzzles-stats-saver.git
```
### Test the project
```bash
$ 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 Mathieu.Soysal@etu.umontpellier.fr