Closed acollad1 closed 1 year ago
S3 can be emulated using this tool for local development: https://s3ninja.net/ It runs an application locally where you can manage s3 buckets on your system and gives credential information to connect to it in your app. It does require docker to be set up. Instructions can be found here: https://docs.docker.com/engine/install/
We will need to be able to accept actual files in NestJS. The documentation for how to do this can be found here: https://docs.nestjs.com/techniques/file-upload
The S3 nodejs connection library information can be found here: https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/getting-started-nodejs.html Once the file has been sent to the backend it can be uploaded to s3 using this library.