{"id":28395030,"url":"https://github.com/asr-experiments/caching-example","last_synced_at":"2026-04-28T17:33:48.097Z","repository":{"id":64217872,"uuid":"574105049","full_name":"ASR-Experiments/Caching-Example","owner":"ASR-Experiments","description":"Project for demonstrating basic Caching capabilities in a Springboot application","archived":false,"fork":false,"pushed_at":"2022-12-15T10:38:47.000Z","size":85,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T06:32:45.954Z","etag":null,"topics":["caching","jpa","springboot"],"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/ASR-Experiments.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}},"created_at":"2022-12-04T12:54:35.000Z","updated_at":"2022-12-11T16:45:41.000Z","dependencies_parsed_at":"2023-01-15T05:15:33.752Z","dependency_job_id":null,"html_url":"https://github.com/ASR-Experiments/Caching-Example","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ASR-Experiments/Caching-Example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASR-Experiments%2FCaching-Example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASR-Experiments%2FCaching-Example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASR-Experiments%2FCaching-Example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASR-Experiments%2FCaching-Example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ASR-Experiments","download_url":"https://codeload.github.com/ASR-Experiments/Caching-Example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASR-Experiments%2FCaching-Example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262172532,"owners_count":23270037,"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":["caching","jpa","springboot"],"created_at":"2025-05-31T19:10:45.656Z","updated_at":"2026-04-28T17:33:48.093Z","avatar_url":"https://github.com/ASR-Experiments.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Caching Example in Springboot\n\n- Basically, demonstrates how we can cache the content in Springboot.\n\n## Process\n\n### Step 0: Boilerplate creation\n\n#### Target\nSetup for a basic JPA based Springboot application with all the required dependencies.\n\n#### Mandatory steps\n- Create a base project using [Spring initialzr](https://start.spring.io/)\n  - `Spring Web` and `Spring Data JPA` is must.\n\n#### Additional steps\n- Added `Actuator`, `Lombok` and `Rest Repositories` for saving development time.\n- Added ~~HAL Explorer~~ to view changes in GUI.\n\n### Step 1: Base code\n\n#### Target\nCreation of base code which includes the creation of the basic Entity and related CRUD operations\n\n#### Mandatory steps\n- Added **Database Configuration** with required annotations like\n  - `@EnableJpaRepositories`\n  - `@Configuration`\n- Adde `Product` entity and repository.\n\n#### Additional Steps\n- Replaced `HAL Explorer` by `Open API Docs` for UI and added its configuration.\n- Added Documentation using Open API.\n- Added Audit details for tracking changes.\n\n\n\n## Sonar\n\n### Badges\n[![Quality gate](https://sonarcloud.io/api/project_badges/quality_gate?project=ArvindSinghRawat_E-Commerce-Inventory)](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)\n\n[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=ArvindSinghRawat_E-Commerce-Inventory\u0026metric=bugs)](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)\n[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=ArvindSinghRawat_E-Commerce-Inventory\u0026metric=security_rating)](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)\n[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=ArvindSinghRawat_E-Commerce-Inventory\u0026metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ArvindSinghRawat_E-Commerce-Inventory\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)\n[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=ArvindSinghRawat_E-Commerce-Inventory\u0026metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)\n\n### Stats\n\n[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=ArvindSinghRawat_E-Commerce-Inventory\u0026metric=code_smells)](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)\n[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=ArvindSinghRawat_E-Commerce-Inventory\u0026metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)\n[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=ArvindSinghRawat_E-Commerce-Inventory\u0026metric=ncloc)](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=ArvindSinghRawat_E-Commerce-Inventory\u0026metric=coverage)](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)\n[![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=ArvindSinghRawat_E-Commerce-Inventory\u0026metric=sqale_index)](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)\n[![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=ArvindSinghRawat_E-Commerce-Inventory\u0026metric=duplicated_lines_density)](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasr-experiments%2Fcaching-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasr-experiments%2Fcaching-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasr-experiments%2Fcaching-example/lists"}