Skip to content

NotifyHub is a multi-service event notification system demonstrating Java backend logic, Node.js webhook gateway, MySQL persistence, and Firebase-hosted frontend.

Notifications You must be signed in to change notification settings

jumpman-cmd/notifyhub

Repository files navigation

NotifyHub

NotifyHub is a modern event notification system with a Spring Boot backend using H2 in-memory database and a Firebase-hosted frontend.

Live Demo

🌐 Frontend: https://notifyhub-6f6e5.web.app

Components

  • java-service (Spring Boot) - REST API with H2 in-memory database
  • frontend - Modern responsive dashboard hosted on Firebase
  • All CORS enabled for seamless frontend-backend communication

Quick Start (Windows / PowerShell)

1. Start Backend (Terminal 1)

cd C:\work\NotifyHub\java-service
mvn clean package -DskipTests -q
java -jar target/notifyhub-java-0.0.1.jar --spring.profiles.active=h2

✅ Backend runs on http://localhost:8081

2. Access Frontend

Option A (Recommended): Use the live Firebase version

Option B: Test locally (Terminal 2)

cd C:\work\NotifyHub\frontend
npx http-server -p 5000

How it Works

  • Frontend - Modern dashboard for registering users, subscribing to events, and triggering notifications
  • Backend - Spring Boot REST API with H2 in-memory database
  • Database - H2 (no MySQL needed, auto-setup on startup)
  • CORS - Enabled for all origins
  • Validation - Smart field-specific error messages
  • Environment Detection - Auto-switches between local and production

Features

✅ User registration with validation ✅ Event subscription management ✅ Event triggering with payload ✅ Real-time response output ✅ Modern responsive UI ✅ Firebase Hosting deployment

GitHub

About

NotifyHub is a multi-service event notification system demonstrating Java backend logic, Node.js webhook gateway, MySQL persistence, and Firebase-hosted frontend.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published