ā” High-performance TypeScript web framework - 11x faster than Express.js
Build modern full-stack applications with HyperExpress, Svelte 5, and Inertia.js.
# Create new project
npx create-laju-app my-project
cd my-project
# Setup database
cp .env.example .env
npx knex migrate:latest
# Start development
npm run dev
Visit http://localhost:5555
| Framework | Requests/sec | Comparison |
|---|---|---|
| Laju | 258,611 | Baseline |
| Pure Node.js | 124,024 | 2x slower |
| Express.js | 22,590 | 11x slower |
| Laravel | 80 | 3,232x slower |
Benchmark: Simple JSON response on same hardware
Documentation is organized for progressive learning from beginner to advanced.
app/
āāā controllers/ # Request handlers
āāā middlewares/ # Auth, rate limiting, CSRF
āāā services/ # DB, Mailer, Storage, Cache
āāā validators/ # Input validation
resources/
āāā js/
ā āāā Pages/ # Svelte/Inertia pages
ā āāā Components/ # Reusable components
ā āāā index.css # TailwindCSS 3 & 4
āāā views/ # Eta templates
routes/ # Route definitions
migrations/ # Database migrations
commands/ # CLI commands
tests/ # Unit & integration tests
docs/ # Documentation
benchmark/ # Performance benchmarks
public/ # Static assets
storage/ # Local storage
type/ # TypeScript definitions
npm run dev # Development
npm run build # Production build
node laju make:controller UserController # Generate controller
npx knex migrate:make create_posts # Create migration
npx knex migrate:latest # Run migrations
| Layer | Technology |
|---|---|
| Server | HyperExpress |
| Database | BetterSQLite3 + Knex |
| Frontend | Svelte 5 + Inertia.js |
| Styling | TailwindCSS 3 & 4 |
| Build | Vite |
| Templates | Eta |
Maulana Shalihin - [email protected]
MIT License