const data = require('/path/to/data.json') app.get('/search', function (req, res) { res.header("Content-Type",'application/json'); res.send(JSON.stringify(data)); })
const data = require('/path/to/data.json') app.get('/search', function (req, res) { res.header("Content-Type",'application/json'); res.send(JSON.stringify(data)); })