{"id":16429873,"url":"https://github.com/mpalourdio/springboottemplate","last_synced_at":"2025-09-08T00:37:16.428Z","repository":{"id":15507215,"uuid":"44015923","full_name":"mpalourdio/SpringBootTemplate","owner":"mpalourdio","description":"Spring Boot example application with spring cloud integration","archived":false,"fork":false,"pushed_at":"2025-08-10T13:11:32.000Z","size":675,"stargazers_count":7,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-08-10T22:24:01.333Z","etag":null,"topics":["hibernate","jpa","junit","mockito","spring-boot","spring-cloud","springboottest","wtf"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mpalourdio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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,"zenodo":null},"funding":{"github":"mpalourdio"}},"created_at":"2015-10-10T15:24:54.000Z","updated_at":"2025-08-10T13:11:33.000Z","dependencies_parsed_at":"2023-12-22T07:35:44.273Z","dependency_job_id":"fb24e923-92c8-4ea7-b92d-11418008bb7d","html_url":"https://github.com/mpalourdio/SpringBootTemplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mpalourdio/SpringBootTemplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpalourdio%2FSpringBootTemplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpalourdio%2FSpringBootTemplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpalourdio%2FSpringBootTemplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpalourdio%2FSpringBootTemplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpalourdio","download_url":"https://codeload.github.com/mpalourdio/SpringBootTemplate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpalourdio%2FSpringBootTemplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274117469,"owners_count":25225101,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["hibernate","jpa","junit","mockito","spring-boot","spring-cloud","springboottest","wtf"],"created_at":"2024-10-11T08:24:45.928Z","updated_at":"2025-09-08T00:37:16.373Z","avatar_url":"https://github.com/mpalourdio.png","language":"Java","readme":"[![CI](https://github.com/mpalourdio/SpringBootTemplate/actions/workflows/main.yml/badge.svg)](https://github.com/mpalourdio/SpringBootTemplate/actions/workflows/main.yml)\n\nSpring Boot 3.x example application.\n=======================================\n\nMore a reminder for some dirty tricks than anything else...\n\nInclude examples for :\n- @SpringBootTest\n- @DataJpaTest\n- @AutoConfigureMockMvc\n- JUnit \u0026 Mockito 2\n- EventListener : non void ``@EventListener`` method triggers automatically another event\n- Async Event (Annotation Driven)\n- Request Forwarding\n- DataSource auto-configuration\n- Thymeleaf\n- HttpSecurity Cache Control\n- Externalized configuration\n- Travis CI Build\n- Custom logging configuration\n- Logout example\n- GZip compression for some content-type\n- org.hibernate.java8 to handle LocalDate API in entities\n- Mock EntityManager (@PersistenceContext)\n- File Download with HttpServletResponse and ResponseEntity\n- Excel Generation with Apache POI\n- Basic auth protected endpoint (/basicauth) and how to test this kind of (silly) protection (lol)\n- Async static Logger event driven\n- Spring Cloud configuration server integration\n- Refreshable controller with @RefreshScope\n- Mockito 2 integration with Strict Stubs checking\n- @EnableConfigurationProperties examples\n- JSON Serialization/Unserialization examples\n- Custom MediaType\n- ...\n\n# DB\n`docker run -it --name postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=taskmanager -p 5432:5432 -d postgres`\n","funding_links":["https://github.com/sponsors/mpalourdio"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpalourdio%2Fspringboottemplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpalourdio%2Fspringboottemplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpalourdio%2Fspringboottemplate/lists"}