Probably easiest to just use this:
https://github.com/ryanto/next-s3-upload
or at least look at their implementation
1 messages · Page 1 of 1 (latest)
Probably easiest to just use this:
https://github.com/ryanto/next-s3-upload
or at least look at their implementation
Thank you, David. And while this might allow me to upload a file to S3, It does not tackle my primary concern which is a firm understanding of how to perform backend tasks on blitz
If that's what you want you should probably start with writing both a purely client React app and a NodeJS server. Because that is essentially what Blitz is but with a layer in between it that handles a lot of things you would otherwise have to write yourself
Blitz is nice to get started fast, but if you have no other experience with both sides it can be hard to figure out what is what
Would you have to do fetch or axios in a blitz application at all? Or does blitz have a way to make a manual call to the backend using an api
Like what happens if you want to call a console.log function on the backend. Its not a mutation its not a query.
Just a simple good ole api call to force some code to execute on the backend
In a normal situation, you would define a route for your express app and then you would call that route using fetch or axios on the front end.