The idea
Express-style frameworks make ordering your job — what runs here, what runs there, where you wire it. Green Tea inverts it. You ask for the highest-level thing you need, and its dependencies resolve transitively.
friends provider, then ask for friends — and the user arrives with the friend list.This is pure composition. DI frameworks resolve a graph of services; Green Tea resolves your request pipeline the same way — the steps a route runs are computed from what it asks for, not the order you wrote them in.