From 1b29e38dbc7c8b1d627d50da2fbf7e081f5ea14a Mon Sep 17 00:00:00 2001 From: Popov Aleksander Date: Sat, 3 Feb 2024 08:51:16 +0600 Subject: [PATCH] RELL-1 start ocr service --- .gitignore | 3 + README.md | 2 +- pom.xml | 123 ++++++++++++++++++ src/main/java/ru/rell/OcrApplication.java | 11 ++ src/main/resources/application.yml | 2 + .../java/ru/rell/OcrApplicationTests.java | 12 ++ 6 files changed, 152 insertions(+), 1 deletion(-) create mode 100644 pom.xml create mode 100644 src/main/java/ru/rell/OcrApplication.java create mode 100644 src/main/resources/application.yml create mode 100644 src/test/java/ru/rell/OcrApplicationTests.java diff --git a/.gitignore b/.gitignore index 9154f4c..76fb968 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # ---> Java # Compiled class file *.class +*.target # Log file *.log @@ -24,3 +25,5 @@ hs_err_pid* replay_pid* +#idea +*.idea diff --git a/README.md b/README.md index 158dffd..8d22385 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # ocr-rell-service -"OCR-Rell-Service" онлайн-сервис по распознаванию текста, \ No newline at end of file +"OCR-Rell-Service" онлайн-сервис по распознаванию текста \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..02b52ff --- /dev/null +++ b/pom.xml @@ -0,0 +1,123 @@ + + + 4.0.0 + ru.rell + ocr-rell-service + 3.0.0.rc + + + 21 + 3.2.2 + + + + org.springframework.boot + spring-boot-starter-parent + 3.2.2 + + + + + PopovAA + Popov Alexander + h0c0kutaiiok@gmail.com + + + + ocr-rell-service + Cервис по распознаванию текста + + jar + + + + + org.springframework.boot + spring-boot-starter + ${spring.version} + + + + org.springframework.boot + spring-boot-starter-web + ${spring.version} + + + + org.springframework.boot + spring-boot-starter-test + ${spring.version} + test + + + + com.jayway.jsonpath + json-path + 2.9.0 + + + + org.junit.jupiter + junit-jupiter-api + 5.10.1 + test + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + build-info + + + + ${java.version} + + + + + + + + org.jacoco + jacoco-maven-plugin + 0.8.11 + + + + prepare-agent + + + + report + test + + report + + + + + + org.codehaus.mojo + versions-maven-plugin + 2.16.2 + + + check-versions + + display-dependency-updates + + + + + + + \ No newline at end of file diff --git a/src/main/java/ru/rell/OcrApplication.java b/src/main/java/ru/rell/OcrApplication.java new file mode 100644 index 0000000..4725bc1 --- /dev/null +++ b/src/main/java/ru/rell/OcrApplication.java @@ -0,0 +1,11 @@ +package ru.rell; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class OcrApplication { + public static void main(String[] args) { + SpringApplication.run(OcrApplication.class, args); + } +} diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml new file mode 100644 index 0000000..47fbb02 --- /dev/null +++ b/src/main/resources/application.yml @@ -0,0 +1,2 @@ +server: + port: 8080 \ No newline at end of file diff --git a/src/test/java/ru/rell/OcrApplicationTests.java b/src/test/java/ru/rell/OcrApplicationTests.java new file mode 100644 index 0000000..53c9a88 --- /dev/null +++ b/src/test/java/ru/rell/OcrApplicationTests.java @@ -0,0 +1,12 @@ +package ru.rell; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class OcrApplicationTests { + + @Test + void contextLoads() { + } +}