← Back to all frameworks MERN + API

Express.js

The minimal Node web framework — middleware all the way down

What it is

The most popular Node API framework. Tiny core, huge middleware ecosystem, perfect for REST APIs, webhooks and the gateway between your React app and your AI workers.

How Vaaani uses it

  • REST APIs with versioning and OpenAPI docs
  • Webhook receivers for Stripe / Twilio / SendGrid
  • Auth middleware (JWT, sessions) and rate limiting
  • Streaming proxy from frontend to LLM endpoints

Why it makes the cut

Every Vaaani full-stack build has Express in it somewhere. Predictable, fast, well-understood — boring in the best way.

Sample code

const express = require("express");
const app = express();

app.post("/api/chat", async (req, res) => {
  const answer = await runAgent(req.body.query);
  res.json({ answer });
});

app.listen(3000);

Related in the Vaaani stack

Have a project that needs Express?

30-min discovery call. You describe the busywork; I map it to an AI worker and a budget.