Skip to content

Introduction ​

OmniNet is a production-grade distributed microservices platform that migrates a full-featured monolithic Spring Boot application into an independently deployable, cloud-native architecture.

What Is OmniNet? ​

OmniNet provides:

  • Secure Authentication — JWT, OAuth2 (Google / GitHub), email OTP, refresh-token rotation.
  • Smart Notes — Rich markdown notes, categories, todos, file attachments, recycle bin, and full-text search.
  • Cloud Storage — S3/MinIO file hosting with presigned URLs, folder trees, and quota enforcement.
  • AI Assistant — Gemini-powered chat with streaming, voice input, web search, and multi-session history.
  • Real-Time Events — Kafka-driven async provisioning and inter-service notifications.

Technology Stack ​

LayerTechnology
Backend FrameworkSpring Boot 3.5.x
API GatewaySpring Cloud Gateway (Reactive / Netty)
Inter-Service RPCgRPC + Protobuf
Event StreamingApache Kafka (KRaft mode)
Caching & StateRedis 7
PersistencePostgreSQL 16 (one DB per service)
Object StorageMinIO (AWS S3-compatible)
AI ProviderGoogle Gemini + Ollama (fallback)
FrontendReact 18 + Vite + TailwindCSS + DaisyUI
ContainerizationDocker Compose + Docker Swarm
LanguageJava 21 (backend), JavaScript/JSX (frontend)

Repository Structure ​

Omninet/
├── omninet-microservices/       # All backend services (Maven multi-module)
│   ├── omninet-proto/           # Protobuf definitions & gRPC stubs
│   ├── omninet-common/          # Shared DTOs, filters, exception handlers
│   ├── api-gateway/             # Reactive API gateway (:8080)
│   ├── auth-service/            # Authentication & OAuth2 (:8081)
│   ├── storage-service/         # S3 storage (:8082)
│   ├── notes-service/           # Notes, todos, categories (:8083)
│   ├── ai-service/              # AI chat & voice (:8084)
│   ├── docker-compose.yml       # Full local dev stack
│   ├── docker-compose.infra.yml # Infrastructure only
│   └── docker-stack.yml         # Production Docker Swarm
├── omninet-security-web/        # React frontend (:5173)
├── Omninet-Core/                # Original monolith (reference)
└── docs/                        # VitePress documentation (this site)

Next Steps ​

Released under the MIT License.