Sort of new to web dev in general so forgive me if I don't know what to do. The issue is that in my local project repository. Temporary files are being created. I'm not sure if this is an issue to be concerned with? I worry what will happen after deployment and whether this will cause issues down the line. Are we suppose to just let the host clean the files automatically or are suppose to manually flush the temporary files created after file upload? I plan to deploy on Heroku for my web app.

Here is some code to let you know what is going on. I'm using the Dropbox SDK for Javascript.
Express -> using Formidable / Form as middleware to parse request.
app.post('/form', (req,res)=>{
let success = null;
//take the file and send it off to dropbox
form.parse(req, (err, fields, files) => {
console.log("fields:", fields);
console.log("file:", files.myfile);
console.log('filename:', files.myfile.name);
// if (files.myfile.size > const UPLOAD_FILE_SIZE_LIMIT)
if (files.myfile.size<UPLOAD_FILE_SIZE_LIMIT) {
dbx.filesUpload({path: "/ReflectionsBucket/" + files.myfile.name, contents: files.myfile, autorename: true})
.then(res=>console.log(res))
.catch(err=>console.log(err));
success=true;
} else {
success=false;
}
}); //form.parse
//need to add the event when the form ends using form.on('end')
form.on('end', ()=>{
if (success) res.send('post successful');
else res.send('file size is too big, needs to be under 150mb');
});
});