Server Next

A library to easily create a modern JS server. Handles HTTP, Websockets and all the small details:

npm install @server/next
import server from "@server/next";

export default server()
  .get("/", () => "Hello world")
  .post("/users", ctx => {
    console.log(ctx.body);
    return { id: 100 };
  });

Batteries on

All the basics work as expected by default. Just write your app!

Modern ES7+

Use the clean syntax async, await, import, export, etc.

Integrations

The same code works in Node, Bun, Vercel, Cloudflare, Netlify, etc.

Documented

Extensive docs, tutorials and videos make it easy to learn.

Secure

Safe by default while fully configurable CORS, CSRF, JWT, etc.

Extensible

Compatible with thousands of existing Express.js libraries.

✨ Type Inference

Advanced type inference so you never mistype a URL parameter.

We added the description, a representative example and even a link for more information for every one of the methods available! We want you to have the best development experience possible with React Test!

Created by Francisco.