Skip to content
/ cmnw Public

CMNW - Intelligence Platform | A sophisticated microservices architecture specializing in Open Source Intelligence (OSINT), Data Market Analysis (DMA), and financial valuations.

License

Notifications You must be signed in to change notification settings

alexzedim/cmnw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

CMNW Logo

๐ŸŽฏ CMNW

Intelligence Always Wins

Website License Version

NestJS TypeScript PostgreSQL MongoDB Redis Docker


๐Ÿ“– About

CMNW is a sophisticated intelligence platform built as a distributed microservices architecture, specializing in Open Source Intelligence (OSINT), Data Market Analysis (DMA), and financial valuations. The platform provides comprehensive analytics and intelligence gathering capabilities with real-time data processing.

๐ŸŽฏ Key Features

  • ๐Ÿ•ต๏ธ Advanced OSINT Capabilities: Character and guild intelligence gathering from World of Warcraft
  • ๐Ÿ“Š Market Data Analysis: Real-time auction house monitoring and price analytics
  • ๐Ÿ’ฐ Financial Valuations: XVA-based pricing engine for market calculations
  • ๐Ÿ”„ Distributed Processing: Queue-based job processing with BullMQ
  • ๐Ÿณ Cloud-Native: Full Docker containerization with orchestrated deployment
  • ๐Ÿ”’ Enterprise Security: Battle.net OAuth integration and secure API access

๐Ÿ—๏ธ Architecture

CMNW Ignition

Microservices Architecture Overview

๐Ÿงฉ Microservices

Service Port Description Key Features
๐ŸŽฏ Core - Central management service Realms & Keys management, Authentication
๐Ÿ•ต๏ธ OSINT 3000 Intelligence gathering Character/Guild profiling, Battle.net integration
๐Ÿ“Š DMA - Data Market Analysis Auction house monitoring, Price analytics
๐Ÿ† Auctions 3002 Auction processing Real-time bidding data, Market trends
๐Ÿ‘ค Characters - Character management Player profiles, Statistics tracking
๐Ÿฐ Guilds - Guild analytics Guild member tracking, Activity monitoring
๐ŸŽฏ Items - Item intelligence Item data processing, Pricing calculations
๐Ÿ’ฐ Gold - Currency tracking Gold price monitoring, Exchange rates
๐Ÿ“ˆ Valuations - Financial modeling XVA calculations, Risk assessments
๐ŸŒ Conglomerat - API Gateway Request routing, Authentication, Rate limiting

๐Ÿ› ๏ธ Technology Stack

๐ŸŽฏ Backend Framework

  • NestJS - Progressive Node.js framework
  • TypeScript - Type-safe JavaScript development
  • RxJS - Reactive programming with observables

๐Ÿ—„๏ธ Data Layer

  • PostgreSQL - Primary relational database
  • MongoDB - Document store for flexible data
  • Redis - In-memory caching and session storage
  • TypeORM - Database ORM with migration support

๐Ÿ”„ Message Queuing

  • BullMQ - Distributed job queue processing
  • Redis - Queue backend and pub/sub messaging

๐Ÿณ DevOps & Deployment

  • Docker - Containerization platform
  • GitHub Actions - CI/CD pipeline automation
  • Multi-platform builds - ARM64 and x64 support

๐Ÿ”ง Development Tools

  • Jest - Testing framework with comprehensive coverage
  • ESLint & Prettier - Code quality and formatting
  • Swagger/OpenAPI - API documentation
  • Playwright - End-to-end testing automation

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 18+ and npm/yarn
  • Docker & Docker Compose
  • PostgreSQL 17+
  • Redis 7+

๐Ÿ”ง Installation

# Clone the repository
git clone https://github.com/alexzedim/cmnw.git
cd cmnw

# Install dependencies
yarn install

# Copy environment configuration
cp .env.example .env
cp .env.docker.example .env.docker

๐Ÿณ Docker Development Setup

# Start core services (PostgreSQL, Redis)
docker-compose -f docker-compose.dev.yml up -d

# Or start specific service stacks
docker-compose -f docker-compose.core.yml up -d
docker-compose -f docker-compose.osint.yml up -d
docker-compose -f docker-compose.dma.yml up -d

๐Ÿ› ๏ธ Local Development

# Build the project
yarn build

# Start development server
yarn start:dev

# Run specific microservice
nest start osint --watch
nest start dma --watch

๐Ÿ’ผ Core Modules

๐Ÿ•ต๏ธ OSINT (Open Source Intelligence)

Character and guild intelligence gathering with comprehensive profiling:

  • Character Analysis: Battle.net API integration for player data
  • Guild Monitoring: Member tracking and activity analysis
  • Raid Progress: Warcraft Logs and Raider.IO integration
  • LFG System: Looking for Guild matching algorithms

๐Ÿ“Š DMA (Data Market Analysis)

Real-time auction house monitoring and market intelligence:

  • Price Tracking: Historical price analysis and trend detection
  • Market Charts: Interactive price visualization with technical indicators
  • Cross-Realm Analysis: Server population and pricing comparisons
  • Commodity Monitoring: Server-wide commodity price tracking

๐Ÿ’ฐ Valuations Engine

Valuations Schema

XVA-based Pricing Engine Schema

Advanced financial modeling with XVA (X-Value Adjustments) calculations:

  • Risk Assessment: Credit, funding, and capital value adjustments
  • Price Discovery: Dynamic pricing based on market conditions
  • Portfolio Analytics: Multi-asset risk and return analysis

๐Ÿงช Testing

๐ŸŽฏ Test Suite

Comprehensive testing with Jest framework:

# Run all tests
yarn test

# Run tests with coverage
yarn test:cov

# Run e2e tests
yarn test:e2e

# Watch mode for development
yarn test:watch

๐Ÿ“‹ Test Coverage


๐Ÿš€ Deployment

๐Ÿ”„ CI/CD Pipeline

Automated deployment via GitHub Actions with multi-platform support:

# Available workflows:
- Docker Image Builds (ARM64 & x64)
- Automated Testing
- Security Scanning
- Multi-environment Deployment

๐Ÿณ Production Deployment

  1. Environment Setup:

    # Configure production environment
    cp .env.production .env
    
    # Set deployment secrets
    export CR_PAT="your_github_token"
    export ENC_PASSWORD="your_encryption_key"
  2. Container Registry:

    # Build and push to GitHub Container Registry
    docker build -t ghcr.io/alexzedim/cmnw:latest .
    docker push ghcr.io/alexzedim/cmnw:latest
  3. Service Orchestration:

    # Deploy service stack
    docker-compose -f docker-compose.prod.yml up -d

๐Ÿ“š API Documentation

๐ŸŒ Endpoints

  • OSINT API: Character and guild intelligence endpoints
  • DMA API: Market data and analytics endpoints
  • Auth API: Battle.net OAuth and authentication
  • Core API: System management and configuration

๐Ÿ“– Interactive Documentation

Swagger/OpenAPI documentation available at:

  • Development: http://localhost:3000/api/docs
  • Production: https://api.cmnw.me/docs

๐Ÿค Contributing

We welcome contributions from developers experienced in:

  • ๐ŸŽฏ Microservices Architecture
  • ๐Ÿ•ต๏ธ Intelligence Gathering Systems
  • ๐Ÿ“Š Financial Data Analysis
  • ๐ŸŽฎ Gaming API Integration
  • ๐Ÿ”’ Security & Authentication

๐Ÿ“‹ How to Contribute

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ› Issues & Feature Requests

  • ๐Ÿ› Bug Reports: Create an issue
  • ๐Ÿ’ก Feature Requests: Start a discussion
  • ๐Ÿ“– Documentation: Help improve our docs
  • ๐Ÿงช Testing: Expand test coverage

๐Ÿ“„ License

This project is licensed under the Mozilla Public License 2.0 - see the LICENSE file for details.


๐ŸŒŸ Built with โค๏ธ by @alexzedim

๐ŸŒ Website โ€ข ๐Ÿ› Issues โ€ข ๐Ÿ’ฌ Discussions โ€ข ๐Ÿฆ Twitter

"Intelligence Always Wins" ๐ŸŽฏ

About

CMNW - Intelligence Platform | A sophisticated microservices architecture specializing in Open Source Intelligence (OSINT), Data Market Analysis (DMA), and financial valuations.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •