An open API service indexing awesome lists of open source software.

https://github.com/nob101/lotto-analyzer

Ein Node.js & SQLite basiertes Tool zur Analyse und Auswertung der Euromillionenziehung und Joker. A Node.js and SQLite web application to analyze, track, and evaluate lottery (Euromillionen) and Joker results.
https://github.com/nob101/lotto-analyzer

backend css data-analysis express html5 javascript nodejs sqlite statistical-analysis

Last synced: 9 days ago
JSON representation

Ein Node.js & SQLite basiertes Tool zur Analyse und Auswertung der Euromillionenziehung und Joker. A Node.js and SQLite web application to analyze, track, and evaluate lottery (Euromillionen) and Joker results.

Awesome Lists containing this project

README

          

### Deutsch/English

# Lotto-analyzer

> Disclaimer / Rechtlicher Hinweis:
> Dieses Projekt dient ausschließlich zu Ausbildungs-, Analyse- und Lernzwecken.

---

* **Die Mathematik des Zufalls:** Aus mathematischer Sicht der Wahrscheinlichkeitsrechnung ist jede Ziehung ein stochastisch unabhängiges Ereignis. Jede Zahl hat bei jeder Ziehung exakt die gleiche Chance, gezogen zu werden - völlig unabhängig davon, wie oft oder wie selten sie in der Vergangenheit aufgetreten ist.


* **Keine Gewinnvorhersagen:** Dieses Tool ist nicht in der Lage, zukünftige Lottozahlen vorherzusagen.


* **Reiner Zufall:** Jegliche Übereinstimmungen zwischen den generierten Tipps dieses Programms und tatsächlichen zukünftigen Ziehungsergebnissen sind reiner Zufall.

* **Keine Haftung & Verantwortung:** Die Nutzung der Daten und des Tools erfolgt auf eigene Verantwortung. Dieses Tool stellt keine Aufforderung zum Glücksspiel dar. Glücksspiel kann süchtig machen.

---

> IMPORTANT NOTICE:
> This project is for educational and analytical purposes only.

---

* **The Mathematics of Chance:** From the mathematical perspective of probability theory each lottery draw is a stochastically independent event. Every number has the exact same mathematical probability of being drawn in every single game, completely independent of how often or rarely it appeared in the past.


* **No Predictions:** This tool is not capable of predicting future lottery numbers.


* **Pure Coincidence:** Any correlation or match between the suggestions generated by this software and actual future drawing results is pure coincidence.

* **No Liability & Responsibility:** Use this tool and its data at your own risk. This tool does not encourage gambling. Gambling can be addictive.

---

# Quick-Start
Stelle sicher, dass [Node.js](https://nodejs.org/) installiert ist.

## Installation
Klone das Repository und installiere die Abhängigkeiten

````bash

git clone
cd lotto-analyzer
npm install

````

## Starten

Hier die Befehle um die App auszuführen

* **Entwicklermodus:**

````bash

npm start

````

> INFO: Öffnet automatisch den Browser unter localhost:3000

* **Produktions-Build erstellen:**

````bash

npm run build

````
> Kompiliert die Anwendung für den produktiven Einsatz im build/- oder dist/-Ordner. (Bereits im .gitignore eingetragen)

## Feature

* Anylse historischer Ziehungsdaten
* Zufallsgenerator
* Visualisierung der Häufigkeit

---

# Conventional Commits (Schlüsselwörter für die automatische Versionierung)

Damit der Bot die Versionsnummern automatisch verteilen kann, müssen Commit-Nachrichten **zwingend klein geschrieben** werden und folgendem Muster entsprechen:
`typ: beschreibung` (z. B. `feat: dashboard hinzugefügt`)

| Schlüsselwort | Bedeutung | Versions-Auswirkung |
| :--- | :--- | :--- |
| **`fix:`** | Behebt einen Fehler (Bugfix) | **Patch** (1.0.0 ➔ 1.0.1) |
| **`feat:`** | Ein neues Feature oder eine neue Funktion | **Minor** (1.0.0 ➔ 1.1.0) |
| **`perf:`** | Code-Änderung, die die Performance verbessert | **Patch** (1.0.0 ➔ 1.0.1) |
| **`refactor:`** | Code-Umbau (weder Bugfix noch neues Feature) | Keine Änderung (oder Patch) |
| **`style:`** | Formtierungen, fehlende Semikolons (keine Logikänderung) | Keine Änderung |
| **`docs:`** | Reine Änderungen an der Dokumentation (z. B. README) | Keine Änderung |
| **`test:`** | Hinzufügen oder Korrigieren von Tests | Keine Änderung |
| **`chore:`** | Aktualisierung von Build-Tools, Verzeichnissen (z. B. .gitignore) | Keine Änderung |
| **`ci:`** | Änderungen an Pipelines/GitHub Actions | Keine Änderung |

#### Major-Updates
Wenn eine Änderung alte Funktionen unbrauchbar macht (z. B. die komplette `dienstplan`-Tabelle umstrukturiert), signalisierst das dem Bot durch ein **Ausrufezeichen** vor dem Doppelpunkt. Das löst sofort ein **Major-Update** aus:

* `feat!: datenbankstruktur komplett auf v2 umgestellt` (1.0.0 ➔ 2.0.0)

---

# Quick Start

Make sure [Node.js](https://nodejs.org/) is installed on your system.

## Installation

Clone the repository and install the dependencies:

````bash

git clone
cd lotto-analyzer
npm install

````

## Running the App

* **Development Mode:**

````bash

npm start

````

> INFO: Automatically opens your browser at localhost:3000

* **Create Production Build:**

````bash

npm run build

````
> Compiles the application for production deployment into the build/ or dist/ folder. (Already added to .gitignore)

## Features

* Analysis of historical draw data

* Random number generator

* Visualization of frequencies

---

## Conventional Commits (Keywords for Automatic Versioning)

To enable the bot to automatically distribute version numbers, commit messages must follow this specific pattern:
`type: description` (e.g., `feat: added joker database integration`)

| Keyword | Meaning | Version Impact |
| :--- | :--- | :--- |
| **`fix:`** | Fixes a bug (Bugfix) | **Patch** (1.0.0 ➔ 1.0.1) |
| **`feat:`** | A new feature or functionality | **Minor** (1.0.0 ➔ 1.1.0) |
| **`perf:`** | A code change that improves performance | **Patch** (1.0.0 ➔ 1.0.1) |
| **`refactor:`** | A code change that neither fixes a bug nor adds a feature | No change (or Patch) |
| **`style:`** | Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons) | No change |
| **`docs:`** | Documentation only changes (e.g., README) | No change |
| **`test:`** | Adding missing tests or correcting existing tests | No change |
| **`chore:`** | Updates to build tools, dependencies, or configurations (e.g., .gitignore) | No change |
| **`ci:`** | Changes to CI/CD pipelines and GitHub Actions workflows | No change |

#### Major Updates
If you introduce a breaking change that makes previous versions incompatible (e.g., completely restructuring the SQLite database schema), you signal this to the bot by adding an **exclamation mark** before the colon. This immediately triggers a **Major Update**:

* `feat!: overhauled database structure to v2` (1.1.0 ➔ 2.0.0)