Build a MongoDB-backed API that returns aggregated stats across two collections using $group, $match, $project, and $lookup. The API must have at least three endpoints: one returning revenue by status over a date range, one returning a faceted product search result, and one joining orders with user details.