Hotel website using spring boot and react that the costumer can upload photos and edit text

Hello, i want to deploy a website for a hotel, for this website the costumer want to edit and change the photos in the website, how im going to make that happen i railway.. I was thinking in the database to have the path of the photos and send to the front - end but i want to have a folder that i can upload photos in railway that is in a specific path to show in the front end.. how im going to do that?
3 Replies
Percy
Percy14mo ago
Project ID: N/A
Σaκaλaμ
ΣaκaλaμOP14mo ago
N/A
N/A
Fragly
Fragly14mo ago
You can do that using volumes I recommend taking a look at brody's multer template to get an idea of how it works https://github.com/brody192/multer-file-uploads
Want results from more Discord servers?
Add your server