rirusta
WWasp-lang
•Created by Dimitrios Mastrogiannis on 2/2/2024 in #đŸ™‹questions
How does file upload work?
Sorry, but if you are new to web development, this framework may not be highly recommended. It takes care of a lot of work, but first it's important to understand the basics of how its components work. There is a lot of documentation on the web about handling files with react and node.
9 replies
WWasp-lang
•Created by Dimitrios Mastrogiannis on 2/2/2024 in #đŸ™‹questions
How does file upload work?
Read the multer documentation for file management in node
9 replies
WWasp-lang
•Created by Dimitrios Mastrogiannis on 2/2/2024 in #đŸ™‹questions
How does file upload work?
Prisma is just an ORM. Only the data related to those files is saved in the database, such as path, name, etc. The file itself has to be saved in fs or some cloud. Multer is a popular middleware in Node for file management.
9 replies