Delivery / @fjell/express-router

Turn Operations into an API

Generates CRUD and hierarchical REST routes from a primary or contained library.

How to use it

Generates CRUD and hierarchical REST routes from a primary or contained library.

Minimal project sample

const router = new PItemRouter(userLibrary, "user");
app.use("/api/users", router.getRouter());
// GET/POST /api/users; GET/PUT/DELETE /api/users/:userPk

Where it connects

This component participates in the Fjell workflow as a delivery layer. See the complete relationship map and sample application to understand its neighbors.

See architecture → See sample app →