Overview + installation
Before starting you need to be authenticated, since the package is hosted within a private npm registry, the authentication steps are described before.
Authentication
Quick Start
import { StorageManagerModule } from 'storage-manager-package';
@Module({
imports: [
StorageManagerModule.register({
useFactory: async () => ({
provider: 'LOCAL',
uploadDir: './uploads',
baseUrl: 'http://localhost:3000/uploads',
}),
}),
],
})
export class AppModule {}Features
1. Upload Files
2. Get File URL
3. Delete Files
4. Generate Pre-signed URLs
Last updated