Closed joemensor closed 1 year ago
Sure, you can put it on a VM. You can use ts-node in production with the --transpile-only
flag. The full explanation is in this Stack Overflow post.
If you do use this in production, you will need to add real auth. Right now the server is faking the authorization. In production, I would also advise against storing the files to disk. A better option would be to store them in a database. Here's some info about the options
As this starts with ts-node, is there any way to run this as an Azure web app?