@aletheia-data/strapi-provider-upload-nft-storage
v0.1.0
Published
strapi-provider-upload-nft-storage
Downloads
5
Readme
strapi-provider-upload-nft-storage
Pre-requisite
You'll need to sign up on https://nft.storage and register an API KEY to get started
https://nft.storage/#docs
Configurations
Your configuration is passed down to the provider.
See the using a provider documentation for information on installing and using a provider. And see the environment variables for setting and using environment variables in your configs.
Example
./config/plugins.js
module.exports = ({ env }) => ({
// ...
upload: {
provider: 'nft-storage',
providerOptions: {
apiKey: env('NFT_STORAGE_API_KEY')
}
},
// ...
});
Contributing
Pull requests are welcome. For fixes, first open an (issue) [https://github.com/Aletheia-Data/strapi-provider-upload-nft-storage/issues/new] to discuss what you would like to change.
Please be sure to do the appropriate tests.