How’s it going, I'm a Adam, a Full-Stack Engineer, actively searching for work. I'm all about JavaScript. And Frontend but don't let that fool you - I've also got some serious Backend skills.
Location
City of Bath, UK 🇬🇧
Education
10 plus years* active enterprise development experience and a Fine art degree 🎨
Looks like I choose wisely, it was the latter. My personal API oauth token is now in environmental variables in both local .env file.
I wondered how much work my lambda should do alter the result in a format I need so compute would do all the work, but instead I went with returning the data as is.
Either way this is my first lambda and a great intro into serverless.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
On your S3 bucket you can set CORS
If the API call you are making is a public API and not with credentials then it would make sense to call this from your javascript code.
If it is credentialed information you'd want to use a Lambda which you can back by API Gateway.
Looks like I choose wisely, it was the latter. My personal API oauth token is now in environmental variables in both local .env file.
I wondered how much work my lambda should do alter the result in a format I need so compute would do all the work, but instead I went with returning the data as is.
Either way this is my first lambda and a great intro into serverless.