Skip to content

Releases: CleanCode366/Artifact-Registory-Backend

Stable backend version

07 May 09:22

Choose a tag to compare

Release Notes

Release Version

  • Version: v.1.1.0
  • Project: Artifact Registry Backend / Stone Inscription
  • Full Changelog: v1.0.0...v1.1.0
  • Release Date: 2026-05-07

Overview

This release delivers the first complete backend implementation for the Artifact Registry application, also referred to as the Stone Inscription system. It provides secure authentication, user profile management, post creation and moderation, image upload and retrieval, and a resilient MongoDB-backed data model.

Key Features

Authentication and Authorization

  • OAuth2 login support for external identity providers.
  • JWT-based session management and token validation.
  • Custom OAuth2 success handling and user onboarding flow.
  • Session activity tracking via POST /oauth2/authenticated/active.
  • Secure access control using Spring Security and JWT filters.

User Profile Management

  • Fetch current user profile: GET /user/profile.
  • Update user profile details: POST /user/updateProfile.
  • Upload or update profile image: POST /user/uploadProfileImage.
  • Upload or update cover image: POST /user/uploadCoverImage.
  • Retrieve public user image by ID: GET /user/public/images/{id}.

Post and Inscription Management

  • Create new inscription posts with file attachments: POST /post/addPostWithFile.
  • Retrieve all posts: POST /post/getAllPost.
  • Retrieve authenticated user's posts: POST /post/getAllUserPost.
  • Delete a post: POST /post/postDelete.
  • Retrieve public post image by ID: GET /post/public/images/{id}.

Post Description and Interaction

  • Add a post description: POST /post/addPoastDiscription.
  • Retrieve post descriptions: POST /post/getPostDiscription.
  • Update post descriptions: POST /post/updatePostDiscription.
  • Delete post descriptions: POST /post/discriptionDelete.
  • Add rating to a post: POST /post/addRating.
  • Add votes to a description: POST /post/addVote.
  • Retrieve user profile in post context: POST /post/userProfile.

Non-Functional and Platform Features

  • Global exception handling with standardized error responses.
  • Validation error handling for request payloads.
  • Image upload validation, including supported formats and size checks.
  • Public image serving with stream-based response handling.
  • Monitoring support via Spring Boot Actuator and Prometheus.
  • Docker and Docker Compose support for containerized deployment.

Architecture and Implementation Highlights

  • Built as a Spring Boot 3.5.5 application with Java 17.
  • Uses Spring Data MongoDB for storage and auditing support.
  • Implements layered architecture: Controllers, Services, Repositories, Entities.
  • Supports MongoDB auditing for creation and modification metadata.
  • Includes a dedicated moderation module for content validation.
  • Uses Lombok for boilerplate reduction and cleaner entity classes.
  • Includes environment configuration via spring-dotenv.
  • Supports WebP and metadata extraction for uploaded images.

Important Components

  • StoneinscriptionConfiguration.java — security and application configuration.
  • JwtRequestFilter.java — JWT validation filter.
  • JwtUtil.java — JWT generation and validation utilities.
  • CustomOAuth2SuccessHandler.java — OAuth2 success handling.
  • ExceptionController — global error response handling.
  • UserController — user profile and image management.
  • PostController — post-related operations.
  • Moderation package — content moderation flow and external integration.

Dependencies

  • Spring Boot Starter Web
  • Spring Boot Starter Security
  • Spring Boot Starter OAuth2 Client
  • Spring Boot Starter Data MongoDB
  • Spring Boot Starter Validation
  • Spring Boot Starter Mail
  • Spring Boot Actuator
  • Micrometer Prometheus
  • Nimbus JOSE JWT
  • Apache PDFBox
  • spring-dotenv
  • metadata-extractor
  • JImageHash
  • imageio-webp

What’s Included in This Release

  • Full backend REST API implementation for user, post, and image workflows.
  • Secure authentication and authorization with OAuth2 and JWT.
  • Docker-ready configuration for deployment

Notes

  • This release is the baseline snapshot for the repository and should be treated as the first full backend delivery.
  • Future releases can extend moderation, analytics, search, pagination, and richer user engagement features.