C
CanxJS
v1.6.2
  • Learn
  • Blog
  • Showcase
C
CanxJS

Ultra-fast async MVC backend framework for Bun. Build production-ready APIs with elegance and speed.

Resources

  • Documentation
  • Learn
  • Blog
  • Showcase

Documentation

  • Introduction
  • Installation
  • Core Concepts
  • CLI Commands
  • API Reference

Legal

  • Privacy Policy
  • Terms of Service

© 2026 CanxJS. All rights reserved.

Built with ❤️ for Candra Kirana

  • Introduction
  • Installation
  • Configuration
  • VS Code Extension
Getting Started

Introduction

Welcome to CanxJS, the ultra-fast async-first MVC backend framework built specifically for Bun.

What is CanxJS?

Think of CanxJS as a "super-powered" framework for building websites and APIs. It combines the ease of use of tools like React/Next.js (for the frontend) with the incredible speed of a new technology called Bun (for the backend).

If you are new to backend development, CanxJS is designed to be:

  • Simple: Easy to learn syntax that uses standard TypeScript.
  • Fast: Your apps remain fast even as they grow large (handling 250k+ requests/sec).
  • Complete: Comes with everything you need included (Database tools, Security, etc.) so you don't have to glue 20 different packages together.

Why CanxJS?

Blazing Fast

250,000+ requests per second with Bun runtime

TypeScript Native

First-class TypeScript support with full type safety

Secure by Default

Built-in CSRF, rate limiting, and input validation

Developer Experience

Elegant APIs inspired by React and Next.js

Quick Example

Here's what a basic CanxJS application looks like:

app.ts
1import { createApp, logger, cors } from "canxjs";
2
3const app = createApp({ port: 3000 });
4
5app.use(logger());
6app.use(cors());
7
8app.get("/", (req, res) => {
9 res.json({ message: "Hello CanxJS!" });
10});
11
12app.listen();

Key Features

Ultra-fast Radix Tree routing
Async-first architecture
Built-in ORM with query builder
Native JSX server-side rendering
Microservices (TCP, Redis, NATS)
CQRS (Command & Query Bus)
GraphQL Code-First Support
OpenAPI/Swagger Auto-Generation
HotWire protocol for real-time
Queue system (Redis/Memory)
Storage drivers (S3/Local)
Internationalization (i18n)

Get Started

Ready to start building? Follow our installation guide to create your first CanxJS application.