diff --git a/.gitignore b/.gitignore index 549e00a..8d929bf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,33 +1 @@ -HELP.md -target/ -!.mvn/wrapper/maven-wrapper.jar -!**/src/main/**/target/ -!**/src/test/**/target/ - -### STS ### -.apt_generated -.classpath -.factorypath -.project -.settings -.springBeans -.sts4-cache - -### IntelliJ IDEA ### -.idea -*.iws -*.iml -*.ipr - -### NetBeans ### -/nbproject/private/ -/nbbuild/ -/dist/ -/nbdist/ -/.nb-gradle/ -build/ -!**/src/main/**/build/ -!**/src/test/**/build/ - -### VS Code ### -.vscode/ +postgres/docker-compose.yml diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..5d12f52 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,14 @@ +{ + "configurations": [ + { + "type": "java", + "name": "Spring Boot-MarinescoApplication", + "request": "launch", + "cwd": "${workspaceFolder}", + "mainClass": "ru.redrise.marinesco.MarinescoApplication", + "projectName": "marinesco", + "args": "", + "envFile": "${workspaceFolder}/.env" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..e0f15db --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "java.configuration.updateBuildConfiguration": "automatic" +} \ No newline at end of file diff --git a/HELP.md b/HELP.md new file mode 100644 index 0000000..5726d02 --- /dev/null +++ b/HELP.md @@ -0,0 +1,22 @@ +# Getting Started + +### Reference Documentation +For further reference, please consider the following sections: + +* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html) +* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/3.1.4/maven-plugin/reference/html/) +* [Create an OCI image](https://docs.spring.io/spring-boot/docs/3.1.4/maven-plugin/reference/html/#build-image) +* [Spring Boot DevTools](https://docs.spring.io/spring-boot/docs/3.1.4/reference/htmlsingle/index.html#using.devtools) +* [Validation](https://docs.spring.io/spring-boot/docs/3.1.4/reference/htmlsingle/index.html#io.validation) +* [Spring Web Services](https://docs.spring.io/spring-boot/docs/3.1.4/reference/htmlsingle/index.html#io.webservices) +* [Thymeleaf](https://docs.spring.io/spring-boot/docs/3.1.4/reference/htmlsingle/index.html#web.servlet.spring-mvc.template-engines) +* [Spring Data JDBC](https://docs.spring.io/spring-boot/docs/3.1.4/reference/htmlsingle/index.html#data.sql.jdbc) + +### Guides +The following guides illustrate how to use some features concretely: + +* [Validation](https://spring.io/guides/gs/validating-form-input/) +* [Producing a SOAP web service](https://spring.io/guides/gs/producing-web-service/) +* [Handling Form Submission](https://spring.io/guides/gs/handling-form-submission/) +* [Using Spring Data JDBC](https://github.com/spring-projects/spring-data-examples/tree/master/jdbc/basics) + diff --git a/target/classes/application.yml b/target/classes/application.yml new file mode 100644 index 0000000..acc3de2 --- /dev/null +++ b/target/classes/application.yml @@ -0,0 +1,6 @@ +spring: + thymeleaf: + cache: false + datasource: + generate-unique-name: false + name: tacocloud \ No newline at end of file diff --git a/target/classes/ru/redrise/marinesco/MarinescoApplication.class b/target/classes/ru/redrise/marinesco/MarinescoApplication.class new file mode 100644 index 0000000..68006df Binary files /dev/null and b/target/classes/ru/redrise/marinesco/MarinescoApplication.class differ diff --git a/target/classes/ru/redrise/marinesco/RootController.class b/target/classes/ru/redrise/marinesco/RootController.class new file mode 100644 index 0000000..4bd5b3f Binary files /dev/null and b/target/classes/ru/redrise/marinesco/RootController.class differ diff --git a/target/classes/ru/redrise/marinesco/User.class b/target/classes/ru/redrise/marinesco/User.class new file mode 100644 index 0000000..debbd04 Binary files /dev/null and b/target/classes/ru/redrise/marinesco/User.class differ diff --git a/target/classes/ru/redrise/marinesco/data/UserRepository.class b/target/classes/ru/redrise/marinesco/data/UserRepository.class new file mode 100644 index 0000000..b56cf05 Binary files /dev/null and b/target/classes/ru/redrise/marinesco/data/UserRepository.class differ diff --git a/target/classes/ru/redrise/marinesco/security/RegistrationController.class b/target/classes/ru/redrise/marinesco/security/RegistrationController.class new file mode 100644 index 0000000..26c81aa Binary files /dev/null and b/target/classes/ru/redrise/marinesco/security/RegistrationController.class differ diff --git a/target/classes/ru/redrise/marinesco/security/RegistrationForm.class b/target/classes/ru/redrise/marinesco/security/RegistrationForm.class new file mode 100644 index 0000000..0d620a3 Binary files /dev/null and b/target/classes/ru/redrise/marinesco/security/RegistrationForm.class differ diff --git a/target/classes/ru/redrise/marinesco/security/SecurityConfig.class b/target/classes/ru/redrise/marinesco/security/SecurityConfig.class new file mode 100644 index 0000000..1e5644c Binary files /dev/null and b/target/classes/ru/redrise/marinesco/security/SecurityConfig.class differ diff --git a/target/classes/templates/login.html b/target/classes/templates/login.html new file mode 100644 index 0000000..9de8ff6 --- /dev/null +++ b/target/classes/templates/login.html @@ -0,0 +1,12 @@ + + + + + Marinesco + + + +

Welcome to LOGIN PAGE

+ + + \ No newline at end of file diff --git a/target/classes/templates/registration.html b/target/classes/templates/registration.html new file mode 100644 index 0000000..b681b69 --- /dev/null +++ b/target/classes/templates/registration.html @@ -0,0 +1,22 @@ + + + + + Marinesco - registration form + + + +

Register

+
+ +
+ +
+ +
+ +
+
+ + + \ No newline at end of file diff --git a/target/classes/templates/root.html b/target/classes/templates/root.html new file mode 100644 index 0000000..4e85e2d --- /dev/null +++ b/target/classes/templates/root.html @@ -0,0 +1,12 @@ + + + + + Marinesco + + + +

Welcome to Marinesco

+ + + \ No newline at end of file diff --git a/target/test-classes/ru/redrise/marinesco/MarinescoApplicationTests.class b/target/test-classes/ru/redrise/marinesco/MarinescoApplicationTests.class new file mode 100644 index 0000000..ef4b55a Binary files /dev/null and b/target/test-classes/ru/redrise/marinesco/MarinescoApplicationTests.class differ