App Version Hub is a web platform for software product discovery, publishing, version management, bookmarking, comments, and real-time notifications
- RESTful APIs
- Stateless authentication: login with JWT access cookie, refresh token rotation, logout with server-side refresh-token revocation;
- Account verification by email: newly registered users are disabled until verification, verification links are generated per user, tokens are hashed at rest, token states are tracked (
used,revoked), and resend generates a new token while revoking previous active tokens - Authorization model: route-level and endpoint-level protection with publisher role gates, plus ownership checks based on association tables (not username strings)
- Software product publishing flow: multipart metadata + optional icon upload, Cloudinary integration, robust update flow (including icon replacement/removal), and delete flow with media cleanup
- Software product management constraints: immutable package identifier after creation, publisher-only mutation rights, and consistency checks on ownership and associations
- Product catalog retrieval: paginated listing for all products, paginated listing for bookmarked products, paginated listing for publisher-owned products (
/software-products/me), and detailed product view with paginated version history - Version lifecycle management: create/update/delete version endpoints, semantic and Microsoft-style version format validation, duplicate prevention per product, pre-release handling, and
isLatestrules that prevent pre-release versions from becoming latest stable - Version ordering behavior: deterministic ordering with release-date and tie-break handling to avoid oldest-first regressions when timestamps match
- Bookmarking system: bookmark/unbookmark endpoints, bookmark status endpoint, saved-products retrieval, and bookmark-count-based leaderboard for top products
- Comments on versions: one comment per user per version enforced at service level, first submission creates and subsequent submission updates, with paginated retrieval of comments
- Notification domain events: backend emits events for new product registration, new version availability, new comment on saved products, and notification status changes
- RabbitMQ messaging architecture: dedicated exchange, routing keys, and queues per event type, asynchronous consumer handling, and decoupled event publishing from feature services
- Realtime notification delivery: persisted notification first, then transactional push to connected users over WebSocket/STOMP; unread counters and notification center are synchronized with status events; realtime popup alert
- Notification center capabilities: unread and history tabs both paginated, mark single notification as read, mark all as read, realtime updates for inbox state
- Notification settings per user: persisted switches for product-registered notifications, version-on-saved-product notifications, comment-on-saved-product notifications, and popup enablement; settings are checked before emitting user-targeted notifications
- Chocolatey ingestion pipeline: scheduled ingestion via cron, controlled throttling with delay between pages and per-product delay, whitelist support, fetch-state persistence for reliability, and version/product upsert behavior for catalog freshness
- Java 25 (Oracle OpenJDK 25.0.1), Spring Boot with Spring Data JPA and Spring Security, Gradle (with Groovy)
- TypeScript, React with Vite, Axios for API calls, and Tailwind CSS for styling
- PostgreSQL
- RabbitMQ for asynchronous event processing and WebSocket/STOMP for in-app real-time delivery
- External integrations: Cloudinary for media, Mailjet for email, Chocolatey API for software products ingestion (metadata + versions history)