passing audio from mongodb to audio tag
问题 For my project I'm trying to create an audio player. The database aspect of storing files is new to me as I've only stored strings before. So far, what I've been able to do is: Store the audio file into the database.(I'm linking to a file here for simplicity but in the future it will be uploaded) Retrieve the audio file as an object. Store the audio file in the public folder for use. Server side code (the route code is separate from the server code) let fs = require('fs'); var bodyParser =