Files upload

Good afternoon,

I would like to create a small SaaS application and deploy it entirely to railway.

One of the features of the project will be uploading files. I want to host simple Node.js api using Multer package to store files.
Is is possible to deploy this on railway? And are there any ways to backup those files? Because when i push a new commit, it deletes all the uploaded files.

And last question, which of yours plans would you recommend for this type of project, where it will be at least 4 different hosted services? And is there any possibility of a students discount?

Best regards,
Tomáš Folprecht
The storage inside the container is going to be ephemeral. It will get wiped with each new deploy. You can use volumes to persist file storage from deploy to deploy. Or you can utilize an external storage solution for the files such as S3 or R2

You can have multiple services inside of each project on your account, this is not a problem. If you are deploying from a monorepo, I would look at this

And to answer your last question, at this time there is no student discount. Using the Hobby plan will be more than enough to get you started in the development process, but once you start making money with the project, you would need to upgrade to the Pro plan
Thank you very much for answering my questions. You helped me a lot.
and here's an example file upload thingy with multer that stores files on the volume

Looking for more? Join the community!

Recommended Posts
Upgrade To Hobby Plan:Why am I unable to upgrade to a Hobby Plan? Your UI keeps getting stuck on this page each time I tryRedis not configured properly for DjangoHi, I'm trying to use Redis with Django and Channels. I keep getting this error message which seems Inspecting built Docker Image locallyHello I have an issue in my application when running in Railway. I would like to download the image Is there someway for me to choose a custom range in the observability?docker flask shows Application failed to respondRepo: https://github.com/chamuditha4/flask1 URL : https://flask-production-7492.up.railway.app/ prGetting 503 Server Error during load testsI'm load testing a simple fastapi backend running on railway. Using locust for load testing with 100Ideal way to compose and manage a full stack app?Railway doesn't really seem to be exposing an example of how one could/should compose a full stack aUsage estimatesSo im trying to make a simple project using a MySQL database and im trying to figure out how much itMy website is not running due to SSL supportThe browser is showing following message: alfajr.edu.pk uses an unsupported protocol. ERR_SSL_VERSIPricing/resource questionHere's a silly question, how should I decide on what plan to use for hosting? I'm pretty dumb at thiAny solution for Typebot 2.17? Still showing server errorAPI response timeHello! I am looking for the best place to deploy my API and I currently have the "Pro Plan" package.Added a template as CRON service and it shows "Your project has no deploys"I added this template to take automatic DB backup - https://railway.app/template/UGKaB8 I added a Cservice in only one environment?Is it possible to have certain service(s) only in specific environment? I am making a new cron job tdeploy not building uptried it already three times now canceled teh ones before at around 5 mins the third is currently atError connecting to Redis database.As shown in the picture, I cannot connect to the database. I do not know the reason, but I think thaLove Railway but confused on pricingHello! I’m currently using the free trial of Railway for a service, and I’m loving it. As my free trWhat I thought was a simple python upgrade broke my deployed flask service. Need some help.Project ID: b06af9f3-d9c9-4d4c-a74f-c5521f149984/service/872870dd-f98a-486c-9f14-09fcd5bc43e5