diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 000000000..73f69e095 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/FullStack.MicroWebApplication-Server.iml b/.idea/FullStack.MicroWebApplication-Server.iml new file mode 100644 index 000000000..52657c62b --- /dev/null +++ b/.idea/FullStack.MicroWebApplication-Server.iml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 000000000..568869974 --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 000000000..63e900193 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml new file mode 100644 index 000000000..712ab9d98 --- /dev/null +++ b/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__antlr_antlr_2_7_7.xml b/.idea/libraries/Maven__antlr_antlr_2_7_7.xml new file mode 100644 index 000000000..b8d93d8e0 --- /dev/null +++ b/.idea/libraries/Maven__antlr_antlr_2_7_7.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml b/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml new file mode 100644 index 000000000..6fec8f434 --- /dev/null +++ b/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml b/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml new file mode 100644 index 000000000..9eb8596a3 --- /dev/null +++ b/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_classmate_1_5_1.xml b/.idea/libraries/Maven__com_fasterxml_classmate_1_5_1.xml new file mode 100644 index 000000000..bc7d7fd86 --- /dev/null +++ b/.idea/libraries/Maven__com_fasterxml_classmate_1_5_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_11_3.xml b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_11_3.xml new file mode 100644 index 000000000..d6408240b --- /dev/null +++ b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_11_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_11_3.xml b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_11_3.xml new file mode 100644 index 000000000..572ed924b --- /dev/null +++ b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_11_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_11_3.xml b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_11_3.xml new file mode 100644 index 000000000..c9ac6cc05 --- /dev/null +++ b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_11_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_11_3.xml b/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_11_3.xml new file mode 100644 index 000000000..76ed7ddfc --- /dev/null +++ b/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_11_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_11_3.xml b/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_11_3.xml new file mode 100644 index 000000000..1ed875306 --- /dev/null +++ b/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_11_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_11_3.xml b/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_11_3.xml new file mode 100644 index 000000000..2aad1f70f --- /dev/null +++ b/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_11_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_h2database_h2_1_4_200.xml b/.idea/libraries/Maven__com_h2database_h2_1_4_200.xml new file mode 100644 index 000000000..98dbdb5af --- /dev/null +++ b/.idea/libraries/Maven__com_h2database_h2_1_4_200.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml b/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml new file mode 100644 index 000000000..f19f6eb36 --- /dev/null +++ b/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_sun_activation_jakarta_activation_1_2_2.xml b/.idea/libraries/Maven__com_sun_activation_jakarta_activation_1_2_2.xml new file mode 100644 index 000000000..fea99f026 --- /dev/null +++ b/.idea/libraries/Maven__com_sun_activation_jakarta_activation_1_2_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_sun_istack_istack_commons_runtime_3_0_11.xml b/.idea/libraries/Maven__com_sun_istack_istack_commons_runtime_3_0_11.xml new file mode 100644 index 000000000..c4e94e643 --- /dev/null +++ b/.idea/libraries/Maven__com_sun_istack_istack_commons_runtime_3_0_11.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml b/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml new file mode 100644 index 000000000..b8581a6f5 --- /dev/null +++ b/.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_zaxxer_HikariCP_3_4_5.xml b/.idea/libraries/Maven__com_zaxxer_HikariCP_3_4_5.xml new file mode 100644 index 000000000..97e22912d --- /dev/null +++ b/.idea/libraries/Maven__com_zaxxer_HikariCP_3_4_5.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml b/.idea/libraries/Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml new file mode 100644 index 000000000..be90656e6 --- /dev/null +++ b/.idea/libraries/Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml b/.idea/libraries/Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml new file mode 100644 index 000000000..cba9dd244 --- /dev/null +++ b/.idea/libraries/Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__jakarta_persistence_jakarta_persistence_api_2_2_3.xml b/.idea/libraries/Maven__jakarta_persistence_jakarta_persistence_api_2_2_3.xml new file mode 100644 index 000000000..c11957d98 --- /dev/null +++ b/.idea/libraries/Maven__jakarta_persistence_jakarta_persistence_api_2_2_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__jakarta_transaction_jakarta_transaction_api_1_3_3.xml b/.idea/libraries/Maven__jakarta_transaction_jakarta_transaction_api_1_3_3.xml new file mode 100644 index 000000000..5b31fe500 --- /dev/null +++ b/.idea/libraries/Maven__jakarta_transaction_jakarta_transaction_api_1_3_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml b/.idea/libraries/Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml new file mode 100644 index 000000000..04213f738 --- /dev/null +++ b/.idea/libraries/Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__mysql_mysql_connector_java_8_0_22.xml b/.idea/libraries/Maven__mysql_mysql_connector_java_8_0_22.xml new file mode 100644 index 000000000..4de6b45fb --- /dev/null +++ b/.idea/libraries/Maven__mysql_mysql_connector_java_8_0_22.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_10_18.xml b/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_10_18.xml new file mode 100644 index 000000000..532908c85 --- /dev/null +++ b/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_10_18.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_10_18.xml b/.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_10_18.xml new file mode 100644 index 000000000..a3dcc5b43 --- /dev/null +++ b/.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_10_18.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml b/.idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml new file mode 100644 index 000000000..b3d385838 --- /dev/null +++ b/.idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml b/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml new file mode 100644 index 000000000..108302355 --- /dev/null +++ b/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_13_3.xml b/.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_13_3.xml new file mode 100644 index 000000000..8ad499666 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_13_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_13_3.xml b/.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_13_3.xml new file mode 100644 index 000000000..57e6ac487 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_13_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_41.xml b/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_41.xml new file mode 100644 index 000000000..7ea265d93 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_41.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_41.xml b/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_41.xml new file mode 100644 index 000000000..085099205 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_41.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apiguardian_apiguardian_api_1_1_0.xml b/.idea/libraries/Maven__org_apiguardian_apiguardian_api_1_1_0.xml new file mode 100644 index 000000000..f854ab00f --- /dev/null +++ b/.idea/libraries/Maven__org_apiguardian_apiguardian_api_1_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_aspectj_aspectjweaver_1_9_6.xml b/.idea/libraries/Maven__org_aspectj_aspectjweaver_1_9_6.xml new file mode 100644 index 000000000..d0ca70521 --- /dev/null +++ b/.idea/libraries/Maven__org_aspectj_aspectjweaver_1_9_6.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_assertj_assertj_core_3_18_1.xml b/.idea/libraries/Maven__org_assertj_assertj_core_3_18_1.xml new file mode 100644 index 000000000..6a2f2054d --- /dev/null +++ b/.idea/libraries/Maven__org_assertj_assertj_core_3_18_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_dom4j_dom4j_2_1_3.xml b/.idea/libraries/Maven__org_dom4j_dom4j_2_1_3.xml new file mode 100644 index 000000000..10fb46ae0 --- /dev/null +++ b/.idea/libraries/Maven__org_dom4j_dom4j_2_1_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_glassfish_jakarta_el_3_0_3.xml b/.idea/libraries/Maven__org_glassfish_jakarta_el_3_0_3.xml new file mode 100644 index 000000000..ae5020d69 --- /dev/null +++ b/.idea/libraries/Maven__org_glassfish_jakarta_el_3_0_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_glassfish_jaxb_jaxb_runtime_2_3_3.xml b/.idea/libraries/Maven__org_glassfish_jaxb_jaxb_runtime_2_3_3.xml new file mode 100644 index 000000000..23fbd58dc --- /dev/null +++ b/.idea/libraries/Maven__org_glassfish_jaxb_jaxb_runtime_2_3_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_glassfish_jaxb_txw2_2_3_3.xml b/.idea/libraries/Maven__org_glassfish_jaxb_txw2_2_3_3.xml new file mode 100644 index 000000000..67d5d9ec7 --- /dev/null +++ b/.idea/libraries/Maven__org_glassfish_jaxb_txw2_2_3_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_hamcrest_hamcrest_2_2.xml b/.idea/libraries/Maven__org_hamcrest_hamcrest_2_2.xml new file mode 100644 index 000000000..6b5496ff0 --- /dev/null +++ b/.idea/libraries/Maven__org_hamcrest_hamcrest_2_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_hibernate_common_hibernate_commons_annotations_5_1_2_Final.xml b/.idea/libraries/Maven__org_hibernate_common_hibernate_commons_annotations_5_1_2_Final.xml new file mode 100644 index 000000000..a775836a0 --- /dev/null +++ b/.idea/libraries/Maven__org_hibernate_common_hibernate_commons_annotations_5_1_2_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_hibernate_hibernate_core_5_4_25_Final.xml b/.idea/libraries/Maven__org_hibernate_hibernate_core_5_4_25_Final.xml new file mode 100644 index 000000000..68bb93a42 --- /dev/null +++ b/.idea/libraries/Maven__org_hibernate_hibernate_core_5_4_25_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_javassist_javassist_3_27_0_GA.xml b/.idea/libraries/Maven__org_javassist_javassist_3_27_0_GA.xml new file mode 100644 index 000000000..39550dac7 --- /dev/null +++ b/.idea/libraries/Maven__org_javassist_javassist_3_27_0_GA.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_jboss_jandex_2_1_3_Final.xml b/.idea/libraries/Maven__org_jboss_jandex_2_1_3_Final.xml new file mode 100644 index 000000000..7d3834f65 --- /dev/null +++ b/.idea/libraries/Maven__org_jboss_jandex_2_1_3_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_4_1_Final.xml b/.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_4_1_Final.xml new file mode 100644 index 000000000..0b76247c2 --- /dev/null +++ b/.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_4_1_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_7_0.xml b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_7_0.xml new file mode 100644 index 000000000..f7cf4fec5 --- /dev/null +++ b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_7_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_api_5_7_0.xml b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_api_5_7_0.xml new file mode 100644 index 000000000..cc01e3f53 --- /dev/null +++ b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_api_5_7_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_engine_5_7_0.xml b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_engine_5_7_0.xml new file mode 100644 index 000000000..f198e4bb8 --- /dev/null +++ b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_engine_5_7_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_params_5_7_0.xml b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_params_5_7_0.xml new file mode 100644 index 000000000..a53686b2d --- /dev/null +++ b/.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_params_5_7_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_junit_platform_junit_platform_commons_1_7_0.xml b/.idea/libraries/Maven__org_junit_platform_junit_platform_commons_1_7_0.xml new file mode 100644 index 000000000..cde8a482a --- /dev/null +++ b/.idea/libraries/Maven__org_junit_platform_junit_platform_commons_1_7_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_junit_platform_junit_platform_engine_1_7_0.xml b/.idea/libraries/Maven__org_junit_platform_junit_platform_engine_1_7_0.xml new file mode 100644 index 000000000..3391deb2a --- /dev/null +++ b/.idea/libraries/Maven__org_junit_platform_junit_platform_engine_1_7_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_mockito_mockito_core_3_6_28.xml b/.idea/libraries/Maven__org_mockito_mockito_core_3_6_28.xml new file mode 100644 index 000000000..62ca28e9f --- /dev/null +++ b/.idea/libraries/Maven__org_mockito_mockito_core_3_6_28.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_mockito_mockito_junit_jupiter_3_6_28.xml b/.idea/libraries/Maven__org_mockito_mockito_junit_jupiter_3_6_28.xml new file mode 100644 index 000000000..79fde7d10 --- /dev/null +++ b/.idea/libraries/Maven__org_mockito_mockito_junit_jupiter_3_6_28.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_objenesis_objenesis_3_1.xml b/.idea/libraries/Maven__org_objenesis_objenesis_3_1.xml new file mode 100644 index 000000000..ae7339975 --- /dev/null +++ b/.idea/libraries/Maven__org_objenesis_objenesis_3_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml b/.idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml new file mode 100644 index 000000000..fbc1b1635 --- /dev/null +++ b/.idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml b/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml new file mode 100644 index 000000000..0bf8cf2b2 --- /dev/null +++ b/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml b/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml new file mode 100644 index 000000000..c4c54d6d5 --- /dev/null +++ b/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_30.xml b/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_30.xml new file mode 100644 index 000000000..27229ce3e --- /dev/null +++ b/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_30.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml b/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml new file mode 100644 index 000000000..02b6812c3 --- /dev/null +++ b/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_2_4_1.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_2_4_1.xml new file mode 100644 index 000000000..4197b089d --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_2_4_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_4_1.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_4_1.xml new file mode 100644 index 000000000..feda55794 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_4_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_4_1.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_4_1.xml new file mode 100644 index 000000000..601529130 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_4_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_aop_2_4_1.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_aop_2_4_1.xml new file mode 100644 index 000000000..7864cf275 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_aop_2_4_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_jpa_2_4_1.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_jpa_2_4_1.xml new file mode 100644 index 000000000..aa9814d7b --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_jpa_2_4_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_jdbc_2_4_1.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_jdbc_2_4_1.xml new file mode 100644 index 000000000..52b71cdba --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_jdbc_2_4_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_4_1.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_4_1.xml new file mode 100644 index 000000000..d5d9720ad --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_4_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_4_1.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_4_1.xml new file mode 100644 index 000000000..4695cb063 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_4_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_4_1.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_4_1.xml new file mode 100644 index 000000000..4d5f9b1f3 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_4_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_2_4_1.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_2_4_1.xml new file mode 100644 index 000000000..d6612572a --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_2_4_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_2_4_1.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_2_4_1.xml new file mode 100644 index 000000000..34d61f072 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_2_4_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_4_1.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_4_1.xml new file mode 100644 index 000000000..b2872ea35 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_4_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_4_1.xml b/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_4_1.xml new file mode 100644 index 000000000..67569acc9 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_4_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_data_spring_data_commons_2_4_2.xml b/.idea/libraries/Maven__org_springframework_data_spring_data_commons_2_4_2.xml new file mode 100644 index 000000000..006537c93 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_data_spring_data_commons_2_4_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_data_spring_data_jpa_2_4_2.xml b/.idea/libraries/Maven__org_springframework_data_spring_data_jpa_2_4_2.xml new file mode 100644 index 000000000..c1edcacef --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_data_spring_data_jpa_2_4_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_aop_5_3_2.xml b/.idea/libraries/Maven__org_springframework_spring_aop_5_3_2.xml new file mode 100644 index 000000000..96144a80d --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_aop_5_3_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_aspects_5_3_2.xml b/.idea/libraries/Maven__org_springframework_spring_aspects_5_3_2.xml new file mode 100644 index 000000000..03a77954e --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_aspects_5_3_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_beans_5_3_2.xml b/.idea/libraries/Maven__org_springframework_spring_beans_5_3_2.xml new file mode 100644 index 000000000..8ff344e74 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_beans_5_3_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_context_5_3_2.xml b/.idea/libraries/Maven__org_springframework_spring_context_5_3_2.xml new file mode 100644 index 000000000..c9588212d --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_context_5_3_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_core_5_3_2.xml b/.idea/libraries/Maven__org_springframework_spring_core_5_3_2.xml new file mode 100644 index 000000000..15b7a85b4 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_core_5_3_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_expression_5_3_2.xml b/.idea/libraries/Maven__org_springframework_spring_expression_5_3_2.xml new file mode 100644 index 000000000..438fdd509 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_expression_5_3_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_jcl_5_3_2.xml b/.idea/libraries/Maven__org_springframework_spring_jcl_5_3_2.xml new file mode 100644 index 000000000..238d6516a --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_jcl_5_3_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_jdbc_5_3_2.xml b/.idea/libraries/Maven__org_springframework_spring_jdbc_5_3_2.xml new file mode 100644 index 000000000..a89d3add1 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_jdbc_5_3_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_orm_5_3_2.xml b/.idea/libraries/Maven__org_springframework_spring_orm_5_3_2.xml new file mode 100644 index 000000000..a2c50f9f5 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_orm_5_3_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_test_5_3_2.xml b/.idea/libraries/Maven__org_springframework_spring_test_5_3_2.xml new file mode 100644 index 000000000..c69b97c77 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_test_5_3_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_tx_5_3_2.xml b/.idea/libraries/Maven__org_springframework_spring_tx_5_3_2.xml new file mode 100644 index 000000000..1ec626411 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_tx_5_3_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_web_5_3_2.xml b/.idea/libraries/Maven__org_springframework_spring_web_5_3_2.xml new file mode 100644 index 000000000..2cb7ff220 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_web_5_3_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_springframework_spring_webmvc_5_3_2.xml b/.idea/libraries/Maven__org_springframework_spring_webmvc_5_3_2.xml new file mode 100644 index 000000000..a296698a4 --- /dev/null +++ b/.idea/libraries/Maven__org_springframework_spring_webmvc_5_3_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_7_0.xml b/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_7_0.xml new file mode 100644 index 000000000..006a8d346 --- /dev/null +++ b/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_7_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_yaml_snakeyaml_1_27.xml b/.idea/libraries/Maven__org_yaml_snakeyaml_1_27.xml new file mode 100644 index 000000000..5f4b15df9 --- /dev/null +++ b/.idea/libraries/Maven__org_yaml_snakeyaml_1_27.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 000000000..e8942bd65 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,13 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 000000000..a77382daf --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml new file mode 100644 index 000000000..e96534fb2 --- /dev/null +++ b/.idea/uiDesigner.xml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 000000000..35eb1ddfb --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/MoneyManagement.uml b/MoneyManagement.uml new file mode 100644 index 000000000..1b897bb03 --- /dev/null +++ b/MoneyManagement.uml @@ -0,0 +1,141 @@ + + + JAVA + + + services.UserServices + services.AccountServices + entities.Savings + entities.Login + controllers.AccountController + entities.User + entities.TransactionHistory + controllers.UserController + repositories.LoginRepo + entities.Investments + repositories.TransactionRepo + controllers.TransactionController + repositories.AccountRepo + repositories.UserRepo + entities.Checkings + entities.Account + services.TransactionServices + controllers.LoginController + services.LoginServices + AppRunner + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Methods + Fields + + All + private + + diff --git a/pom.xml b/pom.xml new file mode 100644 index 000000000..b5aedba0e --- /dev/null +++ b/pom.xml @@ -0,0 +1,62 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.4.1 + + + groupId + FullStack.MicroWebApplication-Server + 1.0-SNAPSHOT + + + 8 + 8 + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + com.h2database + h2 + runtime + + + org.springframework.boot + spring-boot-starter-test + test + + + org.junit.vintage + junit-vintage-engine + + + + + org.springframework.boot + spring-boot-starter-web + RELEASE + compile + + + mysql + mysql-connector-java + runtime + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + \ No newline at end of file diff --git a/src/main/java/AppRunner.java b/src/main/java/AppRunner.java new file mode 100644 index 000000000..2f11a0bac --- /dev/null +++ b/src/main/java/AppRunner.java @@ -0,0 +1,11 @@ +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class AppRunner { + + public static void main(String[] args) { + SpringApplication.run(AppRunner.class, args); + + } +} diff --git a/src/main/java/controllers/AccountController.java b/src/main/java/controllers/AccountController.java new file mode 100644 index 000000000..b0479543a --- /dev/null +++ b/src/main/java/controllers/AccountController.java @@ -0,0 +1,11 @@ +package controllers; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.RestController; +import services.AccountServices; + +@RestController +public class AccountController { + @Autowired + private AccountServices accountServices; +} diff --git a/src/main/java/controllers/LoginController.java b/src/main/java/controllers/LoginController.java new file mode 100644 index 000000000..5ec632231 --- /dev/null +++ b/src/main/java/controllers/LoginController.java @@ -0,0 +1,14 @@ +package controllers; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.RestController; +import services.LoginServices; + +@RestController +public class LoginController { + + @Autowired + private LoginServices loginServices; + + +} diff --git a/src/main/java/controllers/TransactionController.java b/src/main/java/controllers/TransactionController.java new file mode 100644 index 000000000..71fad0c30 --- /dev/null +++ b/src/main/java/controllers/TransactionController.java @@ -0,0 +1,13 @@ +package controllers; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.RestController; +import services.TransactionServices; + +@RestController +public class TransactionController { + @Autowired + private TransactionServices transactionServices; + //comment + +} diff --git a/src/main/java/controllers/UserController.java b/src/main/java/controllers/UserController.java new file mode 100644 index 000000000..8a2d45cd6 --- /dev/null +++ b/src/main/java/controllers/UserController.java @@ -0,0 +1,46 @@ +package controllers; + +import entities.User; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.http.HttpStatus; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.*; +import services.UserServices; + +import java.util.List; + +@RestController +public class UserController { + @Autowired + private UserServices userServices; + +// @GetMapping(value = "/user/read/{id}") +// public ResponseEntity readById(@PathVariable Long id) { +// return new ResponseEntity<>(userServices.readUser(id), HttpStatus.OK); +// } +// +//// @GetMapping(value = "/readAll") +//// public ResponseEntity> readAll() { +//// return new ResponseEntity<>(userServices.readAll(), HttpStatus.OK); +//// } +// @PostMapping(value = "/user/create") +// public ResponseEntity create(@RequestBody User user) { +// return new ResponseEntity<>(userServices.createUser(user), HttpStatus.CREATED); +// } +// +// @PutMapping(value = "/user/update/{id}") +// public ResponseEntity update(@RequestBody User user,@PathVariable Long id) { +// return new ResponseEntity<>(userServices.updateUser(id,user), HttpStatus.OK); +// } +// +// @DeleteMapping(value = "/user/delete/{id}") +// public ResponseEntity deleteById(@PathVariable Long id) { +// return new ResponseEntity<>(userServices.deleteUser(id), HttpStatus.OK); +// } + + @GetMapping(value = "/home") + public String displayHome() { + return "Hello World"; + } + +} diff --git a/src/main/java/entities/Account.java b/src/main/java/entities/Account.java new file mode 100644 index 000000000..360f632bd --- /dev/null +++ b/src/main/java/entities/Account.java @@ -0,0 +1,61 @@ +package entities; + +import javax.persistence.*; +import java.time.LocalDate; +import java.util.Date; +@Entity +public abstract class Account { + @Id + protected Long Id; + protected String accountNumber; + protected String routingNumber; + protected Double balance; + protected LocalDate dateOfOpening; + protected Double interestRate; + public Account() { + } +// public Account(Long id, String accountNumber, String routingNumber, Double balance, LocalDate dateOfOpening, Double interestRate) { +// Id = id; +// this.accountNumber = accountNumber; +// this.routingNumber = routingNumber; +// this.balance = balance; +// this.dateOfOpening = dateOfOpening; +// this.interestRate = interestRate; +// } + public Long getId() { + return Id; + } + public void setId(Long id) { + Id = id; + } + public String getAccountNumber() { + return accountNumber; + } + public void setAccountNumber(String accountNumber) { + this.accountNumber = accountNumber; + } + public String getRoutingNumber() { + return routingNumber; + } + public void setRoutingNumber(String routingNumber) { + this.routingNumber = routingNumber; + } + public Double getBalance() { + return balance; + } + public void setBalance(Double balance) { + this.balance = balance; + } + public LocalDate getDateOfOpening() { + return dateOfOpening; + } + public void setDateOfOpening(LocalDate dateOfOpening) { + this.dateOfOpening = dateOfOpening; + } + public Double getInterestRate() { + return interestRate; + } + public void setInterestRate(Double interestRate) { + this.interestRate = interestRate; + } +} \ No newline at end of file diff --git a/src/main/java/entities/Checkings.java b/src/main/java/entities/Checkings.java new file mode 100644 index 000000000..b30cb094d --- /dev/null +++ b/src/main/java/entities/Checkings.java @@ -0,0 +1,4 @@ +package entities; + +public class Checkings extends Account{ +} diff --git a/src/main/java/entities/Investments.java b/src/main/java/entities/Investments.java new file mode 100644 index 000000000..f03a78c64 --- /dev/null +++ b/src/main/java/entities/Investments.java @@ -0,0 +1,7 @@ +package entities; + +public class Investments extends Account{ + + + +} diff --git a/src/main/java/entities/Login.java b/src/main/java/entities/Login.java new file mode 100644 index 000000000..20b0b4183 --- /dev/null +++ b/src/main/java/entities/Login.java @@ -0,0 +1,44 @@ +package entities; + +import javax.persistence.*; + +@Entity +public class Login { + @Id + private Long Id; + private Long userId; + private String username; + private String password; + + public Long getId() { + return Id; + } + + public void setId(Long id) { + Id = id; + } + + public Long getUserId() { + return userId; + } + + public void setUserId(Long userId) { + this.userId = userId; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } +} diff --git a/src/main/java/entities/Savings.java b/src/main/java/entities/Savings.java new file mode 100644 index 000000000..ce5f0ddf2 --- /dev/null +++ b/src/main/java/entities/Savings.java @@ -0,0 +1,4 @@ +package entities; + +public class Savings extends Account{ +} diff --git a/src/main/java/entities/TransactionHistory.java b/src/main/java/entities/TransactionHistory.java new file mode 100644 index 000000000..8ae19170a --- /dev/null +++ b/src/main/java/entities/TransactionHistory.java @@ -0,0 +1,16 @@ +package entities; + +import javax.persistence.Entity; +import javax.persistence.Id; +import java.time.LocalDate; +@Entity +public class TransactionHistory { + @Id + private Long id; + private String accountType; + private String transactionType; + private Double balanceAfterTransaction; + private LocalDate dateOfTransaction; + + +} diff --git a/src/main/java/entities/User.java b/src/main/java/entities/User.java new file mode 100644 index 000000000..cdfe5fb26 --- /dev/null +++ b/src/main/java/entities/User.java @@ -0,0 +1,58 @@ +package entities; + +import javax.persistence.*; +import java.time.LocalDate; +@Entity +public class User { + @Id + private Long Id; + private String firstName; + private String lastName; + private LocalDate dateOfBirth; + private String socialSecurity; + private String address; + + public User() { + } + + + public Long getId() { + return Id; + } + + public void setId(Long id) { + Id = id; + } + + + public String getFirstName() { + return firstName; + } + public void setFirstName(String firstName) { + this.firstName = firstName; + } + public String getLastName() { + return lastName; + } + public void setLastName(String lastName) { + this.lastName = lastName; + } + public LocalDate getDateOfBirth() { + return dateOfBirth; + } + public void setDateOfBirth(LocalDate dateOfBirth) { + this.dateOfBirth = dateOfBirth; + } + public String getSocialSecurity() { + return socialSecurity; + } + public void setSocialSecurity(String socialSecurity) { + this.socialSecurity = socialSecurity; + } + public String getAddress() { + return address; + } + public void setAddress(String address) { + this.address = address; + } +} \ No newline at end of file diff --git a/src/main/java/repositories/AccountRepo.java b/src/main/java/repositories/AccountRepo.java new file mode 100644 index 000000000..78ce09a6d --- /dev/null +++ b/src/main/java/repositories/AccountRepo.java @@ -0,0 +1,13 @@ +package repositories; + +import entities.Account; +import org.springframework.data.repository.CrudRepository; +import org.springframework.stereotype.Repository; + +import java.util.List; + +@Repository +public interface AccountRepo extends CrudRepository { + + List findAll(); +} diff --git a/src/main/java/repositories/LoginRepo.java b/src/main/java/repositories/LoginRepo.java new file mode 100644 index 000000000..12d2f2ddf --- /dev/null +++ b/src/main/java/repositories/LoginRepo.java @@ -0,0 +1,16 @@ +package repositories; + +import entities.Login; +import org.springframework.data.jpa.repository.Query; +import org.springframework.data.repository.CrudRepository; +import org.springframework.stereotype.Repository; + +import java.util.List; + +@Repository +public interface LoginRepo extends CrudRepository { + + Login findLoginById(Long id); + + +} diff --git a/src/main/java/repositories/TransactionRepo.java b/src/main/java/repositories/TransactionRepo.java new file mode 100644 index 000000000..4cd16816a --- /dev/null +++ b/src/main/java/repositories/TransactionRepo.java @@ -0,0 +1,12 @@ +package repositories; + +import entities.TransactionHistory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.data.repository.CrudRepository; +import org.springframework.stereotype.Repository; + +@Repository +public interface TransactionRepo extends CrudRepository { + + +} diff --git a/src/main/java/repositories/UserRepo.java b/src/main/java/repositories/UserRepo.java new file mode 100644 index 000000000..11a33e1de --- /dev/null +++ b/src/main/java/repositories/UserRepo.java @@ -0,0 +1,19 @@ +package repositories; + +import entities.User; +import org.springframework.data.repository.CrudRepository; +import org.springframework.stereotype.Repository; + +import java.util.List; + +@Repository +public interface UserRepo extends CrudRepository { + + User findUserById(Integer Id); + + // List findAll(); + + //update --save + //create -- save + //delete --delete +} diff --git a/src/main/java/services/AccountServices.java b/src/main/java/services/AccountServices.java new file mode 100644 index 000000000..655bbbcd2 --- /dev/null +++ b/src/main/java/services/AccountServices.java @@ -0,0 +1,58 @@ +package services; + +import entities.Account; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import repositories.AccountRepo; + +import java.util.Optional; + +@Service +public class AccountServices { + + @Autowired + private AccountRepo accountRepo; + //CRUD methods + + public Optional createAccount() + { + //Re-direct to POST in ACCOUNT controller + return null; + } + + public Optional readAccount() + { + //Re-direct to GET in ACCOUNT controller + return null; + } + public Boolean removeAccount() + { + //Re-direct to DELETE in ACCOUNT controller + return true; + } + + public Optional updateAccount() + { + //Re-direct to PUT in ACCOUNT controller + return null; + } + + public Double withdraw(Double amount, Long Id) + { + //Login to withdraw from the account + return 0d; + } + public Double deposit(Double amount , Long Id) + { + //Login to withdraw from the account + return 0d; + } + + + public Double transfer(Double amount , Long fromId ,Long toId) + { + //Login to withdraw from the account + return 0d; + } + +} diff --git a/src/main/java/services/LoginServices.java b/src/main/java/services/LoginServices.java new file mode 100644 index 000000000..9043abaea --- /dev/null +++ b/src/main/java/services/LoginServices.java @@ -0,0 +1,39 @@ +package services; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import repositories.LoginRepo; + +@Service +public class LoginServices { + + @Autowired + private LoginRepo loginRepo; + + public Boolean checkUserCredential(String userName,String password) + { + //Check for username and password ,check about Tokens for user authentication + + return true; + } + + public Boolean logOut() + { + // Login for logOut + return true; + } + + // User authentication + + public Boolean autoLogOff() + { + return true; + } + + +//Lock after 3 attempts +//Security questions +//Forgot username +//Forgot password + +} diff --git a/src/main/java/services/TransactionServices.java b/src/main/java/services/TransactionServices.java new file mode 100644 index 000000000..1120222d6 --- /dev/null +++ b/src/main/java/services/TransactionServices.java @@ -0,0 +1,36 @@ +package services; + +import entities.TransactionHistory; +import org.springframework.beans.factory.annotation.Autowired; +import repositories.TransactionRepo; + +import java.util.Optional; + +public class TransactionServices { + @Autowired + private TransactionRepo transactionRepo; + //CRUD methods + public Optional createTransaction() + { + //Re-direct to POST in TransactionHistory controller + return null; + } + + public Optional readTransaction() + { + //Re-direct to GET in TransactionHistory controller + return null; + } + public Boolean removeTransaction() + { + //Re-direct to DELETE in TransactionHistory controller + return true; + } + + public Optional updateTransaction() + { + //Re-direct to PUT in TransactionHistory controller + return null; + } + +} diff --git a/src/main/java/services/UserServices.java b/src/main/java/services/UserServices.java new file mode 100644 index 000000000..385eac189 --- /dev/null +++ b/src/main/java/services/UserServices.java @@ -0,0 +1,39 @@ +package services; + +import entities.User; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import repositories.UserRepo; + +import java.util.Optional; + +@Service +public class UserServices { + //CRUD methods + @Autowired + private UserRepo userRepo; + + public Optional createUser(User user) + { + //Re-direct to POST in USER controller + return null; + } + + public Optional readUser(Long id) + { + //Re-direct to GET in USER controller + return null; + } + public Boolean deleteUser(Long id) + { + //Re-direct to DELETE in USER controller + return true; + } + + public Optional updateUser(Long id ,User user) + { + //Re-direct to PUT in USER controller + return null; + } + +} diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties new file mode 100644 index 000000000..d2453cca6 --- /dev/null +++ b/src/main/resources/application.properties @@ -0,0 +1,16 @@ +spring.jpa.show-sql=true +server.port=8080 +spring.h2.console.enabled=true +spring.datasource.url=jdbc:mysql://localhost:3306/zipcode +spring.datasource.username=gunjan +spring.datasource.password=zipcode0 +spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver +### had to add this because of the .hibernate_sequence doesn't exist errors! +spring.jpa.hibernate.use-new-id-generator-mappings= false +#spring.datasource.generate-unique-name=false +#spring.h2.console.view=/h2-console +#spring.datasource.url=jdbc:h2:mem:testdb +#spring.datasource.driverClassName=org.h2.Driver +#spring.jpa.database-platform=org.hibernate.dialect.H2Dialect +#spring.h2.console.settings.trace=false +#spring.h2.console.settings.web-allow-others=false diff --git a/target/classes/AppRunner.class b/target/classes/AppRunner.class new file mode 100644 index 000000000..f60264030 Binary files /dev/null and b/target/classes/AppRunner.class differ diff --git a/target/classes/application.properties b/target/classes/application.properties new file mode 100644 index 000000000..945220da0 --- /dev/null +++ b/target/classes/application.properties @@ -0,0 +1,16 @@ +spring.jpa.show-sql=true +server.port=8080 +spring.h2.console.enabled=true +#spring.datasource.generate-unique-name=false +#spring.h2.console.view=/h2-console +#spring.datasource.url=jdbc:h2:mem:testdb +#spring.datasource.driverClassName=org.h2.Driver +#spring.jpa.database-platform=org.hibernate.dialect.H2Dialect +#spring.h2.console.settings.trace=false +#spring.h2.console.settings.web-allow-others=false +spring.datasource.url=jdbc:mysql://localhost:3306/zipcode +spring.datasource.username=gunjan +spring.datasource.password=zipcode0 +spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver +### had to add this because of the .hibernate_sequence doesn't exist errors! +spring.jpa.hibernate.use-new-id-generator-mappings= false \ No newline at end of file diff --git a/target/classes/controllers/AccountController.class b/target/classes/controllers/AccountController.class new file mode 100644 index 000000000..2a33e5aa6 Binary files /dev/null and b/target/classes/controllers/AccountController.class differ diff --git a/target/classes/controllers/LoginController.class b/target/classes/controllers/LoginController.class new file mode 100644 index 000000000..a3c7b6a5f Binary files /dev/null and b/target/classes/controllers/LoginController.class differ diff --git a/target/classes/controllers/TransactionController.class b/target/classes/controllers/TransactionController.class new file mode 100644 index 000000000..24f8dd722 Binary files /dev/null and b/target/classes/controllers/TransactionController.class differ diff --git a/target/classes/controllers/UserController.class b/target/classes/controllers/UserController.class new file mode 100644 index 000000000..4f1db4fa3 Binary files /dev/null and b/target/classes/controllers/UserController.class differ diff --git a/target/classes/entities/Account.class b/target/classes/entities/Account.class new file mode 100644 index 000000000..eed27af8e Binary files /dev/null and b/target/classes/entities/Account.class differ diff --git a/target/classes/entities/Checkings.class b/target/classes/entities/Checkings.class new file mode 100644 index 000000000..c93176702 Binary files /dev/null and b/target/classes/entities/Checkings.class differ diff --git a/target/classes/entities/Investments.class b/target/classes/entities/Investments.class new file mode 100644 index 000000000..edefce525 Binary files /dev/null and b/target/classes/entities/Investments.class differ diff --git a/target/classes/entities/Login.class b/target/classes/entities/Login.class new file mode 100644 index 000000000..4d64c22f8 Binary files /dev/null and b/target/classes/entities/Login.class differ diff --git a/target/classes/entities/Savings.class b/target/classes/entities/Savings.class new file mode 100644 index 000000000..41730d579 Binary files /dev/null and b/target/classes/entities/Savings.class differ diff --git a/target/classes/entities/TransactionHistory.class b/target/classes/entities/TransactionHistory.class new file mode 100644 index 000000000..f04b11539 Binary files /dev/null and b/target/classes/entities/TransactionHistory.class differ diff --git a/target/classes/entities/User.class b/target/classes/entities/User.class new file mode 100644 index 000000000..98fd39f56 Binary files /dev/null and b/target/classes/entities/User.class differ diff --git a/target/classes/repositories/AccountRepo.class b/target/classes/repositories/AccountRepo.class new file mode 100644 index 000000000..2152e09fb Binary files /dev/null and b/target/classes/repositories/AccountRepo.class differ diff --git a/target/classes/repositories/LoginRepo.class b/target/classes/repositories/LoginRepo.class new file mode 100644 index 000000000..55dcba0a2 Binary files /dev/null and b/target/classes/repositories/LoginRepo.class differ diff --git a/target/classes/repositories/TransactionRepo.class b/target/classes/repositories/TransactionRepo.class new file mode 100644 index 000000000..c146fdf91 Binary files /dev/null and b/target/classes/repositories/TransactionRepo.class differ diff --git a/target/classes/repositories/UserRepo.class b/target/classes/repositories/UserRepo.class new file mode 100644 index 000000000..aa68c0c08 Binary files /dev/null and b/target/classes/repositories/UserRepo.class differ diff --git a/target/classes/services/AccountServices.class b/target/classes/services/AccountServices.class new file mode 100644 index 000000000..aeca95dc3 Binary files /dev/null and b/target/classes/services/AccountServices.class differ diff --git a/target/classes/services/LoginServices.class b/target/classes/services/LoginServices.class new file mode 100644 index 000000000..1a624af1a Binary files /dev/null and b/target/classes/services/LoginServices.class differ diff --git a/target/classes/services/TransactionServices.class b/target/classes/services/TransactionServices.class new file mode 100644 index 000000000..7972de76b Binary files /dev/null and b/target/classes/services/TransactionServices.class differ diff --git a/target/classes/services/UserServices.class b/target/classes/services/UserServices.class new file mode 100644 index 000000000..ca3be5afa Binary files /dev/null and b/target/classes/services/UserServices.class differ