From 99b3c4eabb927fef05e940e12076ba8c60562c97 Mon Sep 17 00:00:00 2001 From: Soka_jplr Date: Wed, 17 Apr 2024 08:44:50 -0600 Subject: [PATCH] creacion del backend y frontend --- .gitignore | 44 ++++++++++++++ backend/pom.xml | 75 ++++++++++++++++++++++++ backend/src/main/java/mx/uv/App.java | 13 ++++ backend/src/test/java/mx/uv/AppTest.java | 20 +++++++ 4 files changed, 152 insertions(+) create mode 100644 .gitignore create mode 100644 backend/pom.xml create mode 100644 backend/src/main/java/mx/uv/App.java create mode 100644 backend/src/test/java/mx/uv/AppTest.java diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b88960c --- /dev/null +++ b/.gitignore @@ -0,0 +1,44 @@ +# Created by https://www.toptal.com/developers/gitignore/api/maven +# Edit at https://www.toptal.com/developers/gitignore?templates=maven + +### Maven ### +target/ +pom.xml.tag +pom.xml.releaseBackup +pom.xml.versionsBackup +pom.xml.next +release.properties +dependency-reduced-pom.xml +buildNumber.properties +.mvn/timing.properties +# https://github.com/takari/maven-wrapper#usage-without-binary-jar +.mvn/wrapper/maven-wrapper.jar + +# Eclipse m2e generated files +# Eclipse Core +.project +# JDT-specific (Eclipse Java Development Tools) +.classpath + +# End of https://www.toptal.com/developers/gitignore/api/maven + +# Created by https://www.toptal.com/developers/gitignore/api/react +# Edit at https://www.toptal.com/developers/gitignore?templates=react + +### react ### +.DS_* +*.log +logs +**/*.backup.* +**/*.back.* + +node_modules +bower_components + +*.sublime* + +psd +thumb +sketch + +# End of https://www.toptal.com/developers/gitignore/api/react \ No newline at end of file diff --git a/backend/pom.xml b/backend/pom.xml new file mode 100644 index 0000000..745a3a5 --- /dev/null +++ b/backend/pom.xml @@ -0,0 +1,75 @@ + + + + 4.0.0 + + mx.uv + backend + 1.0-SNAPSHOT + + backend + + http://www.example.com + + + UTF-8 + 1.7 + 1.7 + + + + + junit + junit + 4.11 + test + + + + + + + + + maven-clean-plugin + 3.1.0 + + + + maven-resources-plugin + 3.0.2 + + + maven-compiler-plugin + 3.8.0 + + + maven-surefire-plugin + 2.22.1 + + + maven-jar-plugin + 3.0.2 + + + maven-install-plugin + 2.5.2 + + + maven-deploy-plugin + 2.8.2 + + + + maven-site-plugin + 3.7.1 + + + maven-project-info-reports-plugin + 3.0.0 + + + + + diff --git a/backend/src/main/java/mx/uv/App.java b/backend/src/main/java/mx/uv/App.java new file mode 100644 index 0000000..a2d3cff --- /dev/null +++ b/backend/src/main/java/mx/uv/App.java @@ -0,0 +1,13 @@ +package mx.uv; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/backend/src/test/java/mx/uv/AppTest.java b/backend/src/test/java/mx/uv/AppTest.java new file mode 100644 index 0000000..6284b29 --- /dev/null +++ b/backend/src/test/java/mx/uv/AppTest.java @@ -0,0 +1,20 @@ +package mx.uv; + +import static org.junit.Assert.assertTrue; + +import org.junit.Test; + +/** + * Unit test for simple App. + */ +public class AppTest +{ + /** + * Rigorous Test :-) + */ + @Test + public void shouldAnswerWithTrue() + { + assertTrue( true ); + } +}