create a download server nodejs code example
Example: express download file
app.get((req, res, next) => {
res.download('/file/to/be/downloaded.ext');
res.status(200);
});
app.get((req, res, next) => {
res.download('/file/to/be/downloaded.ext');
res.status(200);
});