register method
Register routes, services, and event listeners on the app.
Implementation
@override
void register(Rewo app) {
final repo = InMemoryRepository<Task, String>(getId: (t) => t.id);
app.singleton(repo);
app.singleton(TaskService(repo));
app.mount(TaskController(app.container.resolve<TaskService>()));
}