Google-cloud
Last updated
Was this helpful?
Last updated
Was this helpful?
Follow this 3 first steps of this guide
Create secret-files folder in the src folder
copy the JSON key file from google-cloud to src > secret-files and rename the file to secret-files.json
Create new bucket
path: config > default.json
Update projectId and bucket name
Allow google-cloud
path: src > services > [YOUR_SERVICE_NAME] > [YOUR_SERVICE_NAME].service.js
path: src > validators > [YOUR_SERVICE_NAME].validators.js
path: src > services > [YOUR_SERVICE_NAME] > [YOUR_SERVICE_NAME].hooks.js
test the service
test from dashboard : 1) open feathersjs-mongoose-casl-admin and try to upload a file