Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Integration with CloudFlare R2 #228

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Commits on Jan 25, 2024

  1. R2 Object Storage Integration.

    This commit creates the integration between CloudFlare R2 and SonicJS. The core function abstract the three methods of CRUD with the idea to be extendable in the future for other platforms. A sample route is created to show the basic "upload and show" result. Basic tests were created but can be improved.
    rhamses committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    4241ba7 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. Example api endpoint and general improvements

    - added an example endpoint on the api.ts and updated the screen version.
    - Updated the Bucket class to return object with the File info (size, name, type, sha1).
    - created an function that return sha1 of the image.
    rhamses committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    3426ff6 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. Configuration menu
    Copy the full SHA
    cf5ba67 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4dd5342 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. Configuration menu
    Copy the full SHA
    c4a227b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b865fc0 View commit details
    Browse the repository at this point in the history
  3. create 2 new output: signed urls (S3 method) and public bucket url wh…

    …en this info is inserted into env var
    rhamses committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    9803f5c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5768602 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. Configuration menu
    Copy the full SHA
    9481f79 View commit details
    Browse the repository at this point in the history