{"id":18425639,"url":"https://github.com/sourcehot/spring-boot-read","last_synced_at":"2025-08-03T00:08:08.730Z","repository":{"id":108360045,"uuid":"380187138","full_name":"SourceHot/spring-boot-read","owner":"SourceHot","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-11T03:09:20.000Z","size":129813,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"sh-2.4.6","last_synced_at":"2025-04-07T16:41:07.304Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SourceHot.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":"CONTRIBUTING.adoc","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.adoc","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"SUPPORT.adoc","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-25T09:20:35.000Z","updated_at":"2024-03-23T06:23:45.000Z","dependencies_parsed_at":"2023-05-21T06:15:49.347Z","dependency_job_id":null,"html_url":"https://github.com/SourceHot/spring-boot-read","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SourceHot/spring-boot-read","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SourceHot%2Fspring-boot-read","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SourceHot%2Fspring-boot-read/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SourceHot%2Fspring-boot-read/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SourceHot%2Fspring-boot-read/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SourceHot","download_url":"https://codeload.github.com/SourceHot/spring-boot-read/tar.gz/refs/heads/sh-2.4.6","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SourceHot%2Fspring-boot-read/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266117841,"owners_count":23879125,"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-06T05:04:41.721Z","updated_at":"2025-07-20T11:33:30.506Z","avatar_url":"https://github.com/SourceHot.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Spring Boot image:https://ci.spring.io/api/v1/teams/spring-boot/pipelines/spring-boot-2.4.x/jobs/build/badge[\"Build Status\", link=\"https://ci.spring.io/teams/spring-boot/pipelines/spring-boot-2.4.x?groups=Build\"] image:https://badges.gitter.im/Join Chat.svg[\"Chat\",link=\"https://gitter.im/spring-projects/spring-boot?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge\"]\n:docs: https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference\n:github: https://github.com/spring-projects/spring-boot\n\nSpring Boot helps you to create Spring-powered, production-grade applications and services with absolute minimum fuss.\nIt takes an opinionated view of the Spring platform so that new and existing users can quickly get to the bits they need.\n\nYou can use Spring Boot to create stand-alone Java applications that can be started using `java -jar` or more traditional WAR deployments.\nWe also provide a command line tool that runs Spring scripts.\n\nOur primary goals are:\n\n* Provide a radically faster and widely accessible getting started experience for all Spring development.\n* Be opinionated out of the box, but get out of the way quickly as requirements start to diverge from the defaults.\n* Provide a range of non-functional features that are common to large classes of projects (e.g. embedded servers, security, metrics, health checks, externalized configuration).\n* Absolutely no code generation and no requirement for XML configuration.\n\n\n\n== Installation and Getting Started\nThe {docs}/html/[reference documentation] includes detailed {docs}/html/getting-started.html#getting-started-installing-spring-boot[installation instructions] as well as a comprehensive {docs}/html/getting-started.html#getting-started-first-application[``getting started``] guide.\n\nHere is a quick teaser of a complete Spring Boot application in Java:\n\n[source,java,indent=0]\n----\n\timport org.springframework.boot.*;\n\timport org.springframework.boot.autoconfigure.*;\n\timport org.springframework.web.bind.annotation.*;\n\n\t@RestController\n\t@SpringBootApplication\n\tpublic class Example {\n\n\t\t@RequestMapping(\"/\")\n\t\tString home() {\n\t\t\treturn \"Hello World!\";\n\t\t}\n\n\t\tpublic static void main(String[] args) {\n\t\t\tSpringApplication.run(Example.class, args);\n\t\t}\n\n\t}\n----\n\n\n\n== Getting help\nHaving trouble with Spring Boot? We'd like to help!\n\n* Check the {docs}/html/[reference documentation], especially the {docs}/html/howto.html#howto[How-to's] -- they provide solutions to the most common questions.\n* Learn the Spring basics -- Spring Boot builds on many other Spring projects, check the https://spring.io[spring.io] web-site for a wealth of reference documentation.\n  If you are just starting out with Spring, try one of the https://spring.io/guides[guides].\n* If you are upgrading, read the {github}/wiki[release notes] for upgrade instructions and \"new and noteworthy\" features.\n* Ask a question - we monitor https://stackoverflow.com[stackoverflow.com] for questions tagged with https://stackoverflow.com/tags/spring-boot[`spring-boot`].\n  You can also chat with the community on https://gitter.im/spring-projects/spring-boot[Gitter].\n* Report bugs with Spring Boot at {github}/issues[github.com/spring-projects/spring-boot/issues].\n\n\n\n== Reporting Issues\nSpring Boot uses GitHub's integrated issue tracking system to record bugs and feature requests.\nIf you want to raise an issue, please follow the recommendations below:\n\n* Before you log a bug, please search the {github}/issues[issue tracker] to see if someone has already reported the problem.\n* If the issue doesn't already exist, {github}/issues/new[create a new issue].\n* Please provide as much information as possible with the issue report, we like to know the version of Spring Boot that you are using, as well as your Operating System and JVM version.\n* If you need to paste code, or include a stack trace use Markdown +++```+++ escapes before and after your text.\n* If possible try to create a test-case or project that replicates the problem and attach it to the issue.\n\n\n\n== Building from Source\nYou don't need to build from source to use Spring Boot (binaries in https://repo.spring.io[repo.spring.io]), but if you want to try out the latest and greatest, Spring Boot can be built and published to your local Maven cache using the https://docs.gradle.org/current/userguide/gradle_wrapper.html[Gradle wrapper].\nYou also need JDK 1.8.\n\n[indent=0]\n----\n\t$ ./gradlew publishToMavenLocal\n----\n\nThis will build all of the jars and documentation and publish them to your local Maven cache.\nIt won't run any of the tests.\nIf you want to build everything, use the `build` task:\n\n[indent=0]\n----\n\t$ ./gradlew build\n----\n\n\n\n== Modules\nThere are a number of modules in Spring Boot, here is a quick overview:\n\n\n\n=== spring-boot\nThe main library providing features that support the other parts of Spring Boot, these include:\n\n* The `SpringApplication` class, providing static convenience methods that can be used to write a stand-alone Spring Application.\n  Its sole job is to create and refresh an appropriate Spring `ApplicationContext`.\n* Embedded web applications with a choice of container (Tomcat, Jetty or Undertow).\n* First class externalized configuration support.\n* Convenience `ApplicationContext` initializers, including support for sensible logging defaults.\n\n\n\n=== spring-boot-autoconfigure\nSpring Boot can configure large parts of common applications based on the content of their classpath.\nA single `@EnableAutoConfiguration` annotation triggers auto-configuration of the Spring context.\n\nAuto-configuration attempts to deduce which beans a user might need. For example, if `HSQLDB` is on the classpath, and the user has not configured any database connections, then they probably want an in-memory database to be defined.\nAuto-configuration will always back away as the user starts to define their own beans.\n\n\n\n=== spring-boot-starters\nStarters are a set of convenient dependency descriptors that you can include in your application.\nYou get a one-stop-shop for all the Spring and related technology that you need without having to hunt through sample code and copy paste loads of dependency descriptors.\nFor example, if you want to get started using Spring and JPA for database access include the `spring-boot-starter-data-jpa` dependency in your project, and you are good to go.\n\n\n\n=== spring-boot-cli\nThe Spring command line application compiles and runs Groovy source, allowing you to write the absolute minimum of code to get an application running.\nSpring CLI can also watch files, automatically recompiling and restarting when they change.\n\n\n\n=== spring-boot-actuator\nActuator endpoints let you monitor and interact with your application.\nSpring Boot Actuator provides the infrastructure required for actuator endpoints.\nIt contains annotation support for actuator endpoints.\nOut of the box, this module provides a number of endpoints including the `HealthEndpoint`, `EnvironmentEndpoint`, `BeansEndpoint` and many more.\n\n\n\n=== spring-boot-actuator-autoconfigure\nThis provides auto-configuration for actuator endpoints based on the content of the classpath and a set of properties.\nFor instance, if Micrometer is on the classpath, it will auto-configure the `MetricsEndpoint`.\nIt contains configuration to expose endpoints over HTTP or JMX.\nJust like Spring Boot AutoConfigure, this will back away as the user starts to define their own beans.\n\n\n\n=== spring-boot-test\nThis module contains core items and annotations that can be helpful when testing your application.\n\n\n\n=== spring-boot-test-autoconfigure\nLike other Spring Boot auto-configuration modules, spring-boot-test-autoconfigure, provides auto-configuration for tests based on the classpath.\nIt includes a number of annotations that can be used to automatically configure a slice of your application that needs to be tested.\n\n\n\n=== spring-boot-loader\nSpring Boot Loader provides the secret sauce that allows you to build a single jar file that can be launched using `java -jar`.\nGenerally you will not need to use `spring-boot-loader` directly, but instead work with the link:spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin[Gradle] or link:spring-boot-project/spring-boot-tools/spring-boot-maven-plugin[Maven] plugin.\n\n\n\n=== spring-boot-devtools\nThe spring-boot-devtools module provides additional development-time features such as automatic restarts, for a smoother application development experience.\nDeveloper tools are automatically disabled when running a fully packaged application.\n\n\n\n== Samples\nGroovy samples for use with the command line application are available in link:spring-boot-project/spring-boot-cli/samples[spring-boot-cli/samples].\nTo run the CLI samples type `spring run \u003csample\u003e.groovy` from samples directory.\n\n\n\n== Guides\nThe https://spring.io/[spring.io] site contains several guides that show how to use Spring Boot step-by-step:\n\n* https://spring.io/guides/gs/spring-boot/[Building an Application with Spring Boot] is a very basic guide that shows you how to create an application, run it and add some management services.\n* https://spring.io/guides/gs/actuator-service/[Building a RESTful Web Service with Spring Boot Actuator] is a guide to creating a REST web service and also shows how the server can be configured.\n* https://spring.io/guides/gs/convert-jar-to-war/[Converting a Spring Boot JAR Application to a WAR] shows you how to run applications in a web server as a WAR file.\n\n\n\n== License\nSpring Boot is Open Source software released under the https://www.apache.org/licenses/LICENSE-2.0.html[Apache 2.0 license].\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourcehot%2Fspring-boot-read","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsourcehot%2Fspring-boot-read","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourcehot%2Fspring-boot-read/lists"}