Project
boxlang-express
An Express.js-style API for building lightweight HTTP servers in BoxLang — routing, middleware, sessions, views, and static files, with the same shape as Express if you've used it before.
Familiar routing
Every HTTP verb has a matching method on app — get, post, put, patch, delete — with route params, wildcards, and mountable sub-routers.
Middleware chain
app.use() runs handlers in registration order, scoped to a path prefix if needed, with built-in JSON, urlencoded, session, CSRF, rate-limit, and security-header middleware.
Views & templates
res.render() supports native BoxLang .bxm templates or Handlebars .hbs, picked automatically by file extension.
Sessions & static files
Cookie-based sessions via req.session, plus static file serving and multipart uploads with conditional-GET (ETag / 304) support built in.
bxsapp = boxExpress()
app.get( "/", ( req, res ) => {
res.send( "Hello World" )
} )
app.listen( 3000, ( port ) => {
println( "listening on #port#" )
} )