.get
app.get('/buildings', async (req, res) => { let res_obj = {} // Then execute your queries, and place the results inside this res_obj ... queries and their handling ... res.send(res_obj);
{ first_query_res: { ... }, second_query_res: { ... } }