Skip to content

nevinmathew/QR-code-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QR-code-application

Overview

This Spring Boot application allows you to generate and read QR codes.

Table of Contents

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

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.

Releases

No releases published

Packages

No packages published

Languages