fs.readFile(path.join(__dirname, './articles.json'), function(err, file) {...});
const data = require('./articles.json')
const socket = io.connect();
client.emit("hello", {
hello: `Привет ${data}!`
});
client.emit("hello", `Привет ${data}!`);
app.put("/api/tour/:id"
req.query.name
app.get("/api/tour/:id"