Not sure if anyone else had issues with pushing the S3 Bucket. It said the push failed to complete the stack update (but it did push the S3 bucket to some degree). Easy work around after "amplify add storage" > "amplify push" you just need to import it "amplify import storage". Also Great video!
When you uploaded the file to the S3 bucket, you put it in a "public" folder so the path was "public/epic.mp3". Then you updated the DynamoDB with the file path of just "epic.mp3". How did DynamoDB know that the file was in a public folder? Is something else happening dynamically that i am unaware of?
Hey Sam, I am having some trouble with url am trying to log into the console. The url for my mp3 in the s3 storage works when i put it on the browser but the url i get from the code shows "access denied"
In the code, you can do something like const config = { download: true, expires: 60 } const {accessURL} = await Storage.get(filename, config) docs.amplify.aws/lib/storage/download/q/platform/js
If you follow the previous video, you should have a graphql api endpoint to use. If you then connect to that to another system (native, a second app) it should all work the same (as long as the user has permissions)
I skipped to this video in the series, set up Amplify and S3 as you've done in this video, called Amplify.configure(awsconfig), but I can't seem to get around this error and it's been two days 😭. Any help? the error is this ----> TypeError: undefined is not an object (evaluating 'data.byteLength')
Not sure if anyone else had issues with pushing the S3 Bucket. It said the push failed to complete the stack update (but it did push the S3 bucket to some degree). Easy work around after "amplify add storage" > "amplify push" you just need to import it "amplify import storage". Also Great video!
nice Sam. Came here looking for a clear explanation of using the Storage mechanism on AWS Amplify and this was perfect. Thx
Glad it was helpful!
Great series Sam, really enjoying this, please keep going. Thanks mate!
Next one is going to be uploading data to s3 and dynamo
Great ones keep it up !! you help a lot of people. :)
That's, it's great knowing that others are benefiting from the videos
The tutorial is so amazing, thanks !
You're very welcome!
You are amazing man
Glad you found the video helpful
Great work. This was really helpful and simple to follow
Glad it was helpful!
hello from dagestan
When you uploaded the file to the S3 bucket, you put it in a "public" folder so the path was "public/epic.mp3". Then you updated the DynamoDB with the file path of just "epic.mp3".
How did DynamoDB know that the file was in a public folder? Is something else happening dynamically that i am unaware of?
I'm convinced he's a robot sent from the future to teach humanity about coding
T-404
Haha thanks Kuro.
Hey Sam, I am having some trouble with url am trying to log into the console. The url for my mp3 in the s3 storage works when i put it on the browser but the url i get from the code shows "access denied"
Good tutorials
Glad you think so!
great tutorial sam , could you please include download option using aws storage?
In the code, you can do something like
const config = {
download: true,
expires: 60
}
const {accessURL} = await Storage.get(filename, config)
docs.amplify.aws/lib/storage/download/q/platform/js
Hey Sam what needs to be in the gitignore when you push up an Amplify repo? Does Amplify init add them automatically?
Create react app makes the initial .gitignore and then amplify adds onto that
Good work !
I am not able to play the whole song. Is there a way I could have the whole song in the player ?
I tried playing the whole song and it worked for me. If you open the chrome console, are you getting any errors?
I would really like to see someone creating an GraphQL api with only Amplify, and connecting multiple frontends on it, like react and react native.
If you follow the previous video, you should have a graphql api endpoint to use. If you then connect to that to another system (native, a second app) it should all work the same (as long as the user has permissions)
Complete Coding perfect! Thanks a lot!
I skipped to this video in the series, set up Amplify and S3 as you've done in this video, called Amplify.configure(awsconfig), but I can't seem to get around this error and it's been two days 😭. Any help? the error is this ----> TypeError: undefined is not an object (evaluating 'data.byteLength')
I'm developing on react-native and i'm completely new to AWS services
Have you set up an AWS account and created some amplify credentials? That might be what you're missing?