mongoose-crate StorageProvider that uploads files to Amazon S3
A StorageProvider for mongoose-crate that stores files in Amazon S3 buckets
const mongoose =const crate =const S3 =const path =const PostSchema =title: Stringdescription: StringPostSchemaconst Post = mongoose
.. then later:
const post =post
By default the region is assumed to be
us-standard. The region is used to assemble the endpoint so please specify a different one if you are hosting in Europe, for example.
A full list of valid S3 regions is available from the AWS documentation website.