Core API Reference

Master the core Bleu.js API. From application creation to database operations, discover the essential building blocks for powerful applications.

⚡ High Performance
🔧 Type Safe
🚀 Production Ready

Core API

Core API Overview

The Bleu.js Core API provides the fundamental building blocks for creating robust, scalable applications. From application lifecycle management to database operations, everything you need is here.

🚀 Quick Start

Basic Setup
import { createBleu } from 'bleujs';

const app = createBleu({
  name: 'my-app',
  version: '1.0.0',
  port: 3000,
  environment: process.env.NODE_ENV || 'development'
});

// Start the application
app.start().then(() => {
  console.log('🚀 Bleu.js app running on port 3000');
});

🎯 Core Features

  • Application lifecycle management
  • Type-safe routing system
  • Middleware pipeline
  • Database abstraction layer
  • Built-in caching system