Skip to content

feat: add REST API server + Docker containerization#1819

Open
hutgrabber wants to merge 4 commits into
CorentinTh:mainfrom
hutgrabber:main
Open

feat: add REST API server + Docker containerization#1819
hutgrabber wants to merge 4 commits into
CorentinTh:mainfrom
hutgrabber:main

fix(deps): pin @vueuse/shared to 10.3.0 to fix Vite build

923ed28
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 19, 2026 in 29s

Quality Gate failed

Failed conditions
4 Security Hotspots
B Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 46 in server/routes/converter.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=CorentinTh_it-tools&issues=AZ7eFAAiL49KgC-o6ILF&open=AZ7eFAAiL49KgC-o6ILF&pullRequest=1819

Check warning on line 49 in server/routes/math.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=CorentinTh_it-tools&issues=AZ7eFAAaL49KgC-o6ILD&open=AZ7eFAAaL49KgC-o6ILD&pullRequest=1819

Check warning on line 46 in server/routes/converter.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=CorentinTh_it-tools&issues=AZ7eFAAiL49KgC-o6ILG&open=AZ7eFAAiL49KgC-o6ILG&pullRequest=1819

Check warning on line 49 in Dockerfile

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Consider wrapping this instruction in a script file and call it with exec form.

See more on https://sonarcloud.io/project/issues?id=CorentinTh_it-tools&issues=AZ7eFABLL49KgC-o6ILT&open=AZ7eFABLL49KgC-o6ILT&pullRequest=1819

Check warning on line 68 in server/routes/converter.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove duplicates in this character class.

See more on https://sonarcloud.io/project/issues?id=CorentinTh_it-tools&issues=AZ7eFAAiL49KgC-o6ILJ&open=AZ7eFAAiL49KgC-o6ILJ&pullRequest=1819

Check warning on line 3 in server/routes/data.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'isValidPhoneNumber'.

See more on https://sonarcloud.io/project/issues?id=CorentinTh_it-tools&issues=AZ7eFAAqL49KgC-o6ILK&open=AZ7eFAAqL49KgC-o6ILK&pullRequest=1819

Check warning on line 18 in Dockerfile

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The "node" image runs with "root" as the default user. Make sure it is safe here.

See more on https://sonarcloud.io/project/issues?id=CorentinTh_it-tools&issues=AZ7eFABLL49KgC-o6ILS&open=AZ7eFABLL49KgC-o6ILS&pullRequest=1819

Check warning on line 71 in server/routes/development.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=CorentinTh_it-tools&issues=AZ7eFAAxL49KgC-o6ILN&open=AZ7eFAAxL49KgC-o6ILN&pullRequest=1819

Check warning on line 152 in server/routes/development.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless assignment to variable "regex".

See more on https://sonarcloud.io/project/issues?id=CorentinTh_it-tools&issues=AZ7eFAAxL49KgC-o6ILP&open=AZ7eFAAxL49KgC-o6ILP&pullRequest=1819

Check warning on line 23 in Dockerfile

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge this RUN instruction with the consecutive ones.

See more on https://sonarcloud.io/project/issues?id=CorentinTh_it-tools&issues=AZ7eFABLL49KgC-o6ILR&open=AZ7eFABLL49KgC-o6ILR&pullRequest=1819

Check warning on line 14 in server/routes/crypto.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'getCharsetLength'.

See more on https://sonarcloud.io/project/issues?id=CorentinTh_it-tools&issues=AZ7eE_94L49KgC-o6IK9&open=AZ7eE_94L49KgC-o6IK9&pullRequest=1819

Check warning on line 46 in server/routes/converter.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=CorentinTh_it-tools&issues=AZ7eFAAiL49KgC-o6ILE&open=AZ7eFAAiL49KgC-o6ILE&pullRequest=1819

Check warning on line 71 in server/routes/development.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=CorentinTh_it-tools&issues=AZ7eFAAxL49KgC-o6ILM&open=AZ7eFAAxL49KgC-o6ILM&pullRequest=1819

Check warning on line 56 in server/routes/converter.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=CorentinTh_it-tools&issues=AZ7eFAAiL49KgC-o6ILI&open=AZ7eFAAiL49KgC-o6ILI&pullRequest=1819

Check warning on line 56 in server/routes/converter.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=CorentinTh_it-tools&issues=AZ7eFAAiL49KgC-o6ILH&open=AZ7eFAAiL49KgC-o6ILH&pullRequest=1819

Check warning on line 105 in server/routes/crypto.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=CorentinTh_it-tools&issues=AZ7eE_94L49KgC-o6IK_&open=AZ7eE_94L49KgC-o6IK_&pullRequest=1819

Check warning on line 48 in server/routes/math.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=CorentinTh_it-tools&issues=AZ7eFAAaL49KgC-o6ILC&open=AZ7eFAAaL49KgC-o6ILC&pullRequest=1819

Check warning on line 32 in server/routes/data.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=CorentinTh_it-tools&issues=AZ7eFAAqL49KgC-o6ILL&open=AZ7eFAAqL49KgC-o6ILL&pullRequest=1819

Check warning on line 136 in server/routes/development.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=CorentinTh_it-tools&issues=AZ7eFAAxL49KgC-o6ILO&open=AZ7eFAAxL49KgC-o6ILO&pullRequest=1819