Express call GET method within route from another route

I have multiple routes. How can I get the data from the user’s route (GET method), by calling it within the GET method of the group’s route? What is the best way of doing this? My app.js looks like this: var express = require(‘express’); var routes = require(‘./routes/index’); var users = require(‘./routes/users’); var groups = … Read more