artwerk-file-google

1.0.6 • Public • Published

Medusa logo

Google Cloud Storage plugin for Medusa by artwerk studios UG

Website

Medusa Info

PRs welcome! Product Hunt Discord Chat Follow @medusajs

Compatibility

This starter is compatible with versions >= 1.17.0 of @medusajs/medusa.

Getting Started

Visit the Quickstart Guide to set up a Medusa server.

Visit the Docs to learn more about the Medusa system requirements.

Plugin Installation

  yarn add artwerk-file-google

Plugin Options

  {
    resolve: `artwerk-file-google`,
    options: {
      publicBucket: "<YOUR_PUBLIC_BUCKET>",
      privateBucket: "<YOUR_PUBLIC_BUCKET>",
      keyFileName: "<PATH_TO_CREDENTIALS_JSON>",
    },
  },

The public bucket will be called from traditional upload function. The private bucket will be called from the protected upload function. This bucket is used for files which have restricted access. See more in Medusa docs creating a file service The keyFileName has to contain the path to the credentials json. This file can be created in indentity and access manager in the google cloud console.

/artwerk-file-google/

    Package Sidebar

    Install

    npm i artwerk-file-google

    Weekly Downloads

    3

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    42.4 kB

    Total Files

    19

    Last publish

    Collaborators

    • robinrehbein