feat: 'did you mean' boot hint, flow compile-time type-test, and demos
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
7 files changed
+88
-3
No files matched your search
@@ -67,6 +67,8 @@ export const streamApp = createApp({ modules: [StreamModule] });
|
||||
|
||||
if (require.main === module) {
|
||||
console.log('chain for /api/users/:id ->', app.inspect('/api/users/:id'));
|
||||
console.log('graph:\n' + app.toMermaid());
|
||||
console.log('explain /api/users/:id:', app.explain('/api/users/:id'));
|
||||
app.listen(3000).then(() => console.log('green-tea on http://localhost:3000'));
|
||||
streamApp.listen(3001).then(() => console.log('green-tea streams on http://localhost:3001'));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user