import { router } from "@warlock.js/core";import { listProducts } from "./controllers/list-products.controller";
router.get("/products", listProducts);One line registers a route. The controller, validation, response helpers, and module conventions live in core.