Getting Started

Introduction

What is AxilJS and why it exists.

2 min readDocumentationEdit this page

What is AxilJS?#

AxilJS is a complete JavaScript/TypeScript backend ecosystem — not another framework.

It provides every layer a production backend needs in a single coherent platform:

  • HTTP server with trie-based routing
  • ORM with PostgreSQL, MySQL, SQLite
  • JWT authentication with RBAC
  • Schema-based request validation
  • WebSocket server with rooms
  • Message queue with retry and backoff
  • AI platform with RAG, agents, and MCP
  • Memory leak detection and auto-cleanup
  • Docker and Kubernetes deployment generation

Note

AxilJS requires Node.js 18 or higher and TypeScript 5.0 or higher.

Why AxilJS?#

Every JavaScript backend project starts the same way — choosing between dozens of packages from different teams with different conventions.

AxilJS eliminates that entirely. One install gives you everything.

bash
npx @AxilJS/cli create my-app
cd my-app
rest run

Your server is running with auth, validation, security headers, rate limiting, and memory monitoring — all active by default.

The name#

typescript
R  → Runtime
E  → Enterprise
st → REST architecture
JS → JavaScript

Hidden inside the name is the word rest — the promise that you can finally stop assembling and start building.

What is included#

PackagePurpose
@AxilJS/coreHTTP server, router, middleware
@AxilJS/securityHelmet, rate limiting, CSRF
@AxilJS/ormDatabase ORM with migrations
@AxilJS/authJWT, password hashing, RBAC
@AxilJS/validationSchema-based request validation
@AxilJS/testingTest runner and HTTP client
@AxilJS/eventsIn-process event bus
@AxilJS/websocketWebSocket server with rooms
@AxilJS/queueMessage queue and scheduler
@AxilJS/circuitCircuit breaker and retry
@AxilJS/observabilityLogging, metrics, tracing
@AxilJS/aiLLM providers, RAG, agents
@AxilJS/cloudMulti-tenancy, audit, deploy
@AxilJS/memoryLeak detection, optimization

Tip

Start with the Quick Start to have a running server in under 2 minutes.

Help improve the documentation

AxilJS is open source and documentation improvements are welcome.

AxilJS DocumentationMIT License · Built by SyntaxilitY