Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nevinmathew/qr-code-application
https://github.com/nevinmathew/qr-code-application
java railway-app spring-boot zxing-qrcode
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nevinmathew/qr-code-application
- Owner: nevinmathew
- License: mit
- Created: 2023-12-26T18:31:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-09T18:23:27.000Z (11 months ago)
- Last Synced: 2024-11-07T10:20:33.109Z (about 2 months ago)
- Topics: java, railway-app, spring-boot, zxing-qrcode
- Language: Java
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# QR-code-application
## Overview
This Spring Boot application allows you to generate and read QR codes.## Table of Contents
- [Features](#features)
- [Dependencies](#dependencies)
- [Configuration](#configuration)## Features
- **QR Code Generation:**
- Create QR codes from provided data.
- Support for different QR code generation strategies.- **QR Code Reading:**
- Decode the content of a QR code from an image file.- **QR Code Generation Strategies:**
- Utilizes a strategy pattern for generating QR codes.
- Easily swap between different strategies, such as default and high-security.- **AOP Logging and Exception Handling:**
- Use Aspect-Oriented Programming (AOP) for logging method executions.
- Handle exceptions gracefully in controller methods.- **Web Configuration:**
- Leverage browser caching for static resources.## Dependencies
- Spring Boot
- [ZXing (QR Code library)](https://github.com/zxing/zxing)## Configuration
### QR Code Generation Strategy:
Easily configure and switch between different QR code generation strategies.### Server Configuration:
HTTP/2 support, server compression, and encoding settings.### Client-Side Caching:
This application also supports client-side caching to improve the performance and load times for static resources.- **Static Resource Caching**
Static resources, such as stylesheets, scripts, and images, benefit from client-side caching. By setting appropriate cache headers, the browser can store these resources locally, reducing the need to fetch them from the server on subsequent visits.- **Cache Headers:**
- The application is configured to set cache headers for static resources located in the `/static` path.
- A cache period of one year is specified to ensure long-term caching, enhancing the user experience by minimizing resource fetching.