Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 436 Bytes

File metadata and controls

14 lines (13 loc) · 436 Bytes

nodejs-example

An example project showing how to use the Filebase S3 API with NodeJS.

Quick Start

Use the following commands to get started:

$ git clone https://github.com/filebase/nodejs-example && cd nodejs-example
$ npm ci
$ AWS_ACCESS_KEY_ID=key AWS_SECRET_ACCESS_KEY=secret node app.js

To change CORS settings on a bucket, use this command:

AWS_ACCESS_KEY_ID=key AWS_SECRET_ACCESS_KEY=secret node cors.js