docs: serving restloom from plain Node, alone or beside other routes
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user