Welcome to CanxJS, the ultra-fast async-first MVC backend framework built specifically for Bun.
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:
250,000+ requests per second with Bun runtime
First-class TypeScript support with full type safety
Built-in CSRF, rate limiting, and input validation
Elegant APIs inspired by React and Next.js
Here's what a basic CanxJS application looks like:
1import { createApp, logger, cors } from "canxjs";23const app = createApp({ port: 3000 });45app.use(logger());6app.use(cors());78app.get("/", (req, res) => {9res.json({ message: "Hello CanxJS!" });10});1112app.listen();