24
Build an idea generator from scratch, part 2: Writing an authenticated fetch request [Video]
It's a new week and a new opportunity to learn! This week's section of the Idea Generator Tutorial focuses on Fetch and authenticated API calls in JavaScript.
If you missed my last post, catch up by checking out my post on the first tutorial in this series.
- How to write a basic fetch request to an API with JavaScript
- Strategies for debugging errors in fetch requests
- How to review API documentation and decide what endpoint to use
- How to add parameters to your fetch calls to narrow down data
- How to use the new for loop syntax in ES6 to log out individual results from an API call
... and so much more!
In this series, we’ll be working toward this idea generator as our final product.
Follow along by cloning or forking the main branch here: https://github.com/ProfessorKolodziej/idea-generator
You can also start on your own project by using my Student Site Boilerplate template: https://github.com/ProfessorKolodziej/student-site-boilerplate/
Catch the new video over here. Happy coding!
I'm always happy to connect!
24