{"id":19402298,"url":"https://github.com/fluentcodes/gitsamples-spring","last_synced_at":"2025-02-24T23:45:01.407Z","repository":{"id":121184063,"uuid":"481057096","full_name":"fluentcodes/GitSamples-Spring","owner":"fluentcodes","description":"GitSamples with Topic Branches for Spring.","archived":false,"fork":false,"pushed_at":"2022-04-13T04:04:29.000Z","size":315,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"java-springboot-web-parent","last_synced_at":"2025-01-07T12:15:39.411Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fluentcodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-13T03:29:26.000Z","updated_at":"2022-04-13T03:31:12.000Z","dependencies_parsed_at":"2023-03-16T04:45:42.064Z","dependency_job_id":null,"html_url":"https://github.com/fluentcodes/GitSamples-Spring","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluentcodes%2FGitSamples-Spring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluentcodes%2FGitSamples-Spring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluentcodes%2FGitSamples-Spring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluentcodes%2FGitSamples-Spring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluentcodes","download_url":"https://codeload.github.com/fluentcodes/GitSamples-Spring/tar.gz/refs/heads/java-springboot-web-parent","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240576486,"owners_count":19823293,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T11:22:56.930Z","updated_at":"2025-02-24T23:45:01.389Z","avatar_url":"https://github.com/fluentcodes.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Topic Branch - Java Springboot Web Parent\nWill check for RestWebController\n\nA spring boot application using [spring-boot-starter-parent](pom.xml) instead of \ndirect dependencies as in [java-springboot-web-direct](../../tree/java-springboot-web-direct)\n\n\t\u003cparent\u003e\n\t\t\u003cgroupId\u003eorg.springframework.boot\u003c/groupId\u003e\n\t\t\u003cartifactId\u003espring-boot-starter-parent\u003c/artifactId\u003e\n\t\t\u003cversion\u003e2.6.4\u003c/version\u003e\n\t\t\u003crelativePath/\u003e\n\t\u003c/parent\u003e\n\n## Summary\nThere are no relevant differences in size or starting speed between the two options.\n\n## Endpoints\nThis is rather bare bone topic branch. \n### Controller\n* [RestController](main/sources/RestController.java)\n  * /welcome/NAME\n  * /welcome/get/NAME\n  * /welcome (post)\n  * /welcome/post\n\n### Static\n* [index.html](resources-main/static/index.html)\n\n## Start\nIt starts with [Startr](main/sources/Start.java) within overall half a minute, but this is dependent of the environment: \n\n    2022-03-17 04:32:46.916  INFO 98276 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.58]\n    2022-03-17 04:32:46.954  INFO 98276 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext\n    2022-03-17 04:32:46.954  INFO 98276 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 539 ms\n    Init Something\n    2022-03-17 04:32:47.108  INFO 98276 --- [           main] o.s.b.a.w.s.WelcomePageHandlerMapping    : Adding welcome page: class path resource [static/index.html]\n    2022-03-17 04:32:47.183  INFO 98276 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path ''\n    2022-03-17 04:32:47.191  INFO 98276 --- [           main] sources.Start                            : Started Start in 21.148 seconds (JVM running for 21.404)\n\n## Size\nThe size of java-springboot-web-parent-0.0.1.jar in target \n\n    mvn clean install\n\nis about 17 MB. \n\n## Dependencies\nWhen executing \n   \n    mvn dependency:tree\n\nthe following is shown: \n\n    org.fluentcodes.sandbox:java-springboot-web-parent:jar:0.0.1\n    +- org.springframework.boot:spring-boot-starter-web:jar:2.6.4:compile\n    |  +- org.springframework.boot:spring-boot-starter:jar:2.6.4:compile\n    |  |  +- org.springframework.boot:spring-boot-starter-logging:jar:2.6.4:compile\n    |  |  |  +- ch.qos.logback:logback-classic:jar:1.2.10:compile\n    |  |  |  |  \\- ch.qos.logback:logback-core:jar:1.2.10:compile\n    |  |  |  +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.17.1:compile\n    |  |  |  |  \\- org.apache.logging.log4j:log4j-api:jar:2.17.1:compile\n    |  |  |  \\- org.slf4j:jul-to-slf4j:jar:1.7.36:compile\n    |  |  +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile\n    |  |  \\- org.yaml:snakeyaml:jar:1.29:compile\n    |  +- org.springframework.boot:spring-boot-starter-json:jar:2.6.4:compile\n    |  |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.13.1:compile\n    |  |  |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.13.1:compile\n    |  |  |  \\- com.fasterxml.jackson.core:jackson-core:jar:2.13.1:compile\n    |  |  +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.13.1:compile\n    |  |  +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.13.1:compile\n    |  |  \\- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.13.1:compile\n    |  +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.6.4:compile\n    |  |  +- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.58:compile\n    |  |  +- org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.58:compile\n    |  |  \\- org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.58:compile\n    |  +- org.springframework:spring-web:jar:5.3.16:compile\n    |  |  \\- org.springframework:spring-beans:jar:5.3.16:compile\n    |  \\- org.springframework:spring-webmvc:jar:5.3.16:compile\n    |     +- org.springframework:spring-aop:jar:5.3.16:compile\n    |     +- org.springframework:spring-context:jar:5.3.16:compile\n    |     \\- org.springframework:spring-expression:jar:5.3.16:compile\n    +- org.springframework.boot:spring-boot-autoconfigure:jar:2.6.4:compile\n    |  \\- org.springframework.boot:spring-boot:jar:2.6.4:compile\n    \\- org.springframework.boot:spring-boot-starter-test:jar:2.6.4:test\n       +- org.springframework.boot:spring-boot-test:jar:2.6.4:test\n       +- org.springframework.boot:spring-boot-test-autoconfigure:jar:2.6.4:test\n       +- com.jayway.jsonpath:json-path:jar:2.6.0:test\n       |  +- net.minidev:json-smart:jar:2.4.8:test\n       |  |  \\- net.minidev:accessors-smart:jar:2.4.8:test\n       |  |     \\- org.ow2.asm:asm:jar:9.1:test\n       |  \\- org.slf4j:slf4j-api:jar:1.7.36:compile\n       +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:test\n       |  \\- jakarta.activation:jakarta.activation-api:jar:1.2.2:test\n       +- org.assertj:assertj-core:jar:3.21.0:test\n       +- org.hamcrest:hamcrest:jar:2.2:test\n       +- org.junit.jupiter:junit-jupiter:jar:5.8.2:test\n       |  +- org.junit.jupiter:junit-jupiter-api:jar:5.8.2:test\n       |  |  +- org.opentest4j:opentest4j:jar:1.2.0:test\n       |  |  +- org.junit.platform:junit-platform-commons:jar:1.8.2:test\n       |  |  \\- org.apiguardian:apiguardian-api:jar:1.1.2:test\n       |  +- org.junit.jupiter:junit-jupiter-params:jar:5.8.2:test\n       |  \\- org.junit.jupiter:junit-jupiter-engine:jar:5.8.2:test\n       |     \\- org.junit.platform:junit-platform-engine:jar:1.8.2:test\n       +- org.mockito:mockito-core:jar:4.0.0:test\n       |  +- net.bytebuddy:byte-buddy:jar:1.11.22:test\n       |  +- net.bytebuddy:byte-buddy-agent:jar:1.11.22:test\n       |  \\- org.objenesis:objenesis:jar:3.2:test\n       +- org.mockito:mockito-junit-jupiter:jar:4.0.0:test\n       +- org.skyscreamer:jsonassert:jar:1.5.0:test\n       |  \\- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test\n       +- org.springframework:spring-core:jar:5.3.16:compile\n       |  \\- org.springframework:spring-jcl:jar:5.3.16:compile\n       +- org.springframework:spring-test:jar:5.3.16:test\n       \\- org.xmlunit:xmlunit-core:jar:2.8.4:test\n\n\n## Related Topic Branches\n* [java-springboot-web-direkt](../../tree/java-springboot-web-direct)\n* [java-springboot-empty-direct](../../tree/java-springboot-empty-direct)\n* [java-springboot-jpa](../../tree/java-springboot-jpa)\n* [java-springboot-jpa-rest](../../tree/java-springboot-jpa-rest)\n* [java-springboot-mongodb](../../tree/java-springboot-mongodb)\n\n\n## Links\n* https://www.baeldung.com/spring-mvc-static-resources\n* https://stackoverflow.com/questions/3342908/how-to-get-a-dependency-tree-for-an-artifact\n* https://docs.spring.io/spring-boot/docs/current/reference/html/application-properties.html#appendix.application-properties.server\n* https://stackoverflow.com/questions/3855127/find-and-kill-process-locking-port-3000-on-mac","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluentcodes%2Fgitsamples-spring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluentcodes%2Fgitsamples-spring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluentcodes%2Fgitsamples-spring/lists"}