Express API Images Issue

Hi everyone, im trying to develop the backend of my portfolio site, and i need to manage the image on m site, so for example i need to upload images and get the image that i uploaded, im using express and none of the methods that i used worked, so first of all, does exist a way to use just a local dir of my project? if no how should i do?

Typically, file upload is done by using S3 as the location to upload files to and manage them from there instead of from a local directory. Lambda functions are ephemeral, in other words, you need to assume that anything written to a local directory in your Lambda will be deleted once execution is completed.