docs: serving restloom from plain Node, alone or beside other routes

This commit is contained in:
2026-11-03 12:27:02 +01:00
parent 667df8325a
commit 2530941f22
2 changed files with 16 additions and 4 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ const rest = createREST({
http.createServer(nodeListener(rest, { prefix: '/api' })).listen(3000);
```
Every table and view of `app` is now a resource, read-only:
`nodeListener` comes with the core, so no framework is needed. Every table and view of `app` is now a resource, read-only:
```sh
curl -g 'http://localhost:3000/api/todos?select=id,name,owner(name)&status=eq.open'