axonstream-core

AxonStream Core

ONE PACKAGE FOR EVERYTHING - Revolutionary real-time platform in a single package

npm version License: MIT TypeScript

πŸš€ Revolutionary Simplicity

One command, one package, infinite possibilities.

npm install @axonstream/core

That’s it! One command installs everything you need for modern real-time applications:

🌟 Why AxonStream Core?

Revolutionary Approach

Professional Features

πŸ“¦ Installation

# Install the complete package
npm install @axonstream/core

# Or with yarn
yarn add @axonstream/core

# Or with pnpm
pnpm add @axonstream/core

πŸš€ Quick Start

React Integration

import { useAxonpuls } from '@axonstream/core/react';

function ChatApp() {
  const axon = useAxonpuls({
    org: 'your-org',
    token: 'your-jwt-token'
  });

  return <div>Real-time chat ready!</div>;
}

Vue Integration

<script setup>
import { useAxonpuls } from '@axonstream/core/vue';

const axon = useAxonpuls({
  org: 'your-org',
  token: 'your-jwt-token'
});
</script>

Angular Integration

import { AxonStreamService } from '@axonstream/core/angular';

@Injectable()
export class ChatService {
  constructor(private axon: AxonStreamService) {
    this.axon.connect({
      org: 'your-org',
      token: 'your-jwt-token'
    });
  }
}

CDN Integration (No Build Required)

<script src="https://cdn.axonstream.ai/axonui.min.js"></script>
<script>
const axon = new window.AxonSDK({
  url: 'wss://your-org.axonstream.ai',
  token: 'your-jwt-token'
});
await axon.connect();
</script>

πŸ“š Documentation

πŸ—οΈ Architecture

Core Components

Technology Stack

πŸ”§ Development

Prerequisites

Setup

# Clone the repository
git clone https://github.com/AxonStream/core.git
cd core

# Install dependencies
npm install

# Setup environment
cp .env.example .env
# Edit .env with your configuration

# Setup database
npm run db:migrate
npm run db:generate

# Start development servers
npm run dev

Available Scripts

# Development
npm run dev              # Start all services in development
npm run dev:api          # Start API server only
npm run dev:docs         # Start documentation server

# Building
npm run build            # Build all packages
npm run build:sdk        # Build SDK package
npm run build:docs       # Build documentation

# Testing
npm run test             # Run all tests
npm run test:api         # Run API tests
npm run test:e2e         # Run end-to-end tests

# Publishing
npm run publish:all      # Publish all packages
npm run pack:all         # Pack all packages locally

🌐 API Endpoints

Base URLs

Key Endpoints

πŸ”’ Security

Authentication & Authorization

Data Protection

Network Security

πŸ“Š Monitoring

Built-in Monitoring

Observability

🀝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Workflow

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests
  5. Submit a pull request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ†˜ Support

🌟 Star History

Star History Chart


Made with ❀️ by AxonStream AI

Revolutionary real-time platform in a single package. One command, infinite possibilities.