Advanced Features
Custom Actions
You can specify which CRUD actions to generate using the --actions flag:
node ace dreamer posts --actions=index,showAvailable actions:
index(List all)show(View single)store(Create)update(Edit)destroy(Delete)
Nested Resources
Dreamer supports nested resource generation for related entities. This is particularly useful for parent-child relationships:
node ace dreamer posts/commentsNote: Currently, dreamer doesn’t have the capacity to determine relationships.