A Spring Boot project implementing a RESTful API with Redis cache monitoring and SLF4J logger.
- Introduction
- Features
- Technologies
- Usage
- Installation
- Configuration
- Monitoring Redis Cache
- Logging with SLF4J
- Contributing
This project serves as a template for building RESTful APIs using Spring Boot, with Redis cache integration for monitoring cache performance and SLF4J logging for better application logging.
- Implementation of RESTful endpoints for CRUD operations.
- Integration with Redis cache for caching frequently accessed data.
- Monitoring of Redis cache performance for better optimization.
- Logging using SLF4J for effective application logging.
- Java
- Spring Boot
- Redis
- SLF4J (Simple Logging Facade for Java)
- Clone the repository to your local machine.
- Configure the application properties file with your Redis server details.
- Build and run the project using Maven or your preferred IDE.
- Access the API endpoints using a REST client or web browser.
-
Ensure you have Java and Maven installed on your machine.
-
Clone the repository:
git clone https://github.com/Paras2322/SpringData-Redis.git
-
Navigate to the project directory:
cd project-directory
-
Build the project:
mvn clean package
-
Run the application:
java -jar target/application.jar
Update the application.properties
file with your Redis server details, including host, port, and any authentication credentials if required.
You can monitor Redis cache performance using Redis monitoring tools such as RedisInsight or by enabling Redis monitoring in your Redis server configuration.
This project uses SLF4J for logging.
Contributions are welcome! Feel free to fork the repository and submit pull requests for any enhancements or bug fixes.