File Storage

Burdy comes with support to store content in either file system (default) or AWS S3.

Azure Blob support is coming later this year

To activate AWS S3 update environment variables to:

# File driver config, possible values: fs (default)|aws_s3

# Will take effect only if aws_s3 value is set for FILE_DRIVER

link.To setup AWS S3 please visit Creating a Bucket.

Using File Driver

To store files from your code, use our File Driver.

To initiate it just call FileDriver.getInstance();


export interface IFileDriver {
getUpload: () => any;
getName: () => string;

copy: (src: string, dest: string) => Promise<any>;
write: (key: string, content: any) => Promise<any>;
read: (key: string) => Promise<any>;
stat: (key: string) => Promise<any>;
delete: (params: string | string[]) => Promise<any>;

createReadStream: (key: string, options?: any) => any;
createWriteStream: (key: string, options?: any) => any;
Copyright © Burdy Technologies. All rights reserved.