An example project showing how to use the Filebase S3 API with NodeJS.
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