Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Product App

A Spring Boot application that syncs and displays products from the Famme Shopify API.

Tech Stack

  • Backend: Spring Boot 3.5.6, Java 25
  • Database: PostgreSQL (Docker)
  • Migrations: Flyway
  • Frontend: Thymeleaf + HTMX
  • Build: Gradle

Quick Start

  1. Start PostgreSQL:

    docker-compose up -d
  2. Run the application:

    ./gradlew bootRun
  3. Open browser:

    http://localhost:8080
    

Features

  • Automatic product sync from Famme API on startup
  • Product catalog display with variants
  • Dynamic UI updates using HTMX
  • Manual product creation via web form

Project Structure

src/main/java/com/example/productapp/
├── ProductAppApplication.java    # Main application entry point
├── Product.java                   # Product entity
├── ProductVariant.java            # Variant entity
├── ProductRepository.java         # Data access
├── ProductController.java         # Web endpoints
└── ProductSyncService.java        # API sync service

Database

PostgreSQL database with two tables:

  • products - Product information
  • product_variants - Product variants with pricing and availability

Managed via Flyway migrations in src/main/resources/db/migration/

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages