https://github.com/asr-experiments/caching-example
Project for demonstrating basic Caching capabilities in a Springboot application
https://github.com/asr-experiments/caching-example
caching jpa springboot
Last synced: about 2 months ago
JSON representation
Project for demonstrating basic Caching capabilities in a Springboot application
- Host: GitHub
- URL: https://github.com/asr-experiments/caching-example
- Owner: ASR-Experiments
- License: mit
- Created: 2022-12-04T12:54:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-15T10:38:47.000Z (over 3 years ago)
- Last Synced: 2025-06-01T06:32:45.954Z (about 1 year ago)
- Topics: caching, jpa, springboot
- Language: Java
- Homepage:
- Size: 83 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Caching Example in Springboot
- Basically, demonstrates how we can cache the content in Springboot.
## Process
### Step 0: Boilerplate creation
#### Target
Setup for a basic JPA based Springboot application with all the required dependencies.
#### Mandatory steps
- Create a base project using [Spring initialzr](https://start.spring.io/)
- `Spring Web` and `Spring Data JPA` is must.
#### Additional steps
- Added `Actuator`, `Lombok` and `Rest Repositories` for saving development time.
- Added ~~HAL Explorer~~ to view changes in GUI.
### Step 1: Base code
#### Target
Creation of base code which includes the creation of the basic Entity and related CRUD operations
#### Mandatory steps
- Added **Database Configuration** with required annotations like
- `@EnableJpaRepositories`
- `@Configuration`
- Adde `Product` entity and repository.
#### Additional Steps
- Replaced `HAL Explorer` by `Open API Docs` for UI and added its configuration.
- Added Documentation using Open API.
- Added Audit details for tracking changes.
## Sonar
### Badges
[](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)
[](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)
[](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)
[](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)
[](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)
[](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)
### Stats
[](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)
[](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)
[](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)
[](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)
[](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)
[](https://sonarcloud.io/summary/new_code?id=ArvindSinghRawat_E-Commerce-Inventory)