{"id":19766216,"url":"https://github.com/akaliutau/spring-boot-3-reference-design","last_synced_at":"2026-05-05T10:34:31.185Z","repository":{"id":208256108,"uuid":"719155261","full_name":"akaliutau/spring-boot-3-reference-design","owner":"akaliutau","description":"Spring Boot 3 Reference Design project","archived":false,"fork":false,"pushed_at":"2023-11-20T13:44:02.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T00:13:29.489Z","etag":null,"topics":["java17","java17-spring-boot","lombok","openapi","reference-designs","spring-boot"],"latest_commit_sha":null,"homepage":"","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/akaliutau.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-15T15:13:15.000Z","updated_at":"2023-11-20T13:44:54.000Z","dependencies_parsed_at":"2023-11-20T15:57:49.675Z","dependency_job_id":null,"html_url":"https://github.com/akaliutau/spring-boot-3-reference-design","commit_stats":null,"previous_names":["akaliutau/spring-boot-3-reference-design"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akaliutau%2Fspring-boot-3-reference-design","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akaliutau%2Fspring-boot-3-reference-design/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akaliutau%2Fspring-boot-3-reference-design/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akaliutau%2Fspring-boot-3-reference-design/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akaliutau","download_url":"https://codeload.github.com/akaliutau/spring-boot-3-reference-design/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241099613,"owners_count":19909577,"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":["java17","java17-spring-boot","lombok","openapi","reference-designs","spring-boot"],"created_at":"2024-11-12T04:23:26.134Z","updated_at":"2026-05-05T10:34:31.156Z","avatar_url":"https://github.com/akaliutau.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reference design: Spring Boot 3 CRUD service\n\nThis is a reference design to build microservices (CRUD service) on the basis of Java17, Spring Boot 3 and H2 database\n\n## Building and running a service:\n\n```shell\nmvn clean install\nmvn spring-boot:run\n```\n\n## Testing\n\nThe last command will start server at `localhost:8080`. The in-memory database H2 is populated with a couple of records, so one can test service in action.\n\nTo test endpoints, go to `http://localhost:8080/swagger-ui/index.html` - this url points to Swagger page with generated API\n\nGo to `POST /login` endpoint down the page and authorize yourself with user/pwd pair `admin:admin`. This will give you the bearer token, use it to authorize Swagger to invoke other endpoints on behalf of you.\n\nAfter that one can invoke any endpoints, for example `GET /api/cars` will return json like this:\n\n```json\n{\n  \"_embedded\": {\n    \"cars\": [\n      {\n        \"brand\": \"Ford\",\n        \"model\": \"Mustang\",\n        \"color\": \"Red\",\n        \"registrationNumber\": \"ADF-1121\",\n        \"modelYear\": 2023,\n        \"price\": 59000,\n        \"_links\": {\n          \"self\": {\n            \"href\": \"http://localhost:8080/api/cars/1\"\n          },\n          \"car\": {\n            \"href\": \"http://localhost:8080/api/cars/1\"\n          },\n          \"owner\": {\n            \"href\": \"http://localhost:8080/api/cars/1/owner\"\n          }\n        }\n      },\n\n``` \n\nNote the auto-generated fields `_links` - they are created due to presence of data-rest dependency on class path which enriches the output to match HATEOS(Hypertext as the Engine of Application State) principles.\n\n  \n \n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakaliutau%2Fspring-boot-3-reference-design","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakaliutau%2Fspring-boot-3-reference-design","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakaliutau%2Fspring-boot-3-reference-design/lists"}