Hi there! That's weird about Heroku. I've been using the free dynos for dev and test environments for a year and have had no issues so far.
I guess you have 2 free dynos, one for the front and one for the back? Would you mind sharing a bit more about your Heroku config? I may be able to help.
On the other hand, as @devdrake0
suggested, Digital Ocean is a great alternative and fairly cheap. But you'll have to set up a web server, like Nginx, and a process manager for your Node.js backend, like PM2. You can still keep your data on MLab, though.
Hi Paula!, finally I used heroku for the back, and now.sh for the front.
So take the opportunity to know a little more about both at the same time haha
When I say that the files uploaded in Heroku are removed after 24 hours, I mean the files uploaded via POST in a form for example. Heroku not store files at least in its free version, isn't it?
Thanks for your help :)
Oh I get it now 😂
Glad you solved it. Now + Heroku is a nice combo!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.