On , Jason Lengstorf (VP of Developer Experience at Netlify and DEV Community member) joined @coffeecraftcode and I on the Walkthrough Wednesday stream to discuss Jamstack, serverless, and Jamstack Explorers.
We used Netlify's serverless functions to quickly set up an API to grab DEV posts with the DEV API.
Thanks again for joining us, Jason! 😎 I had a great time pairing with you on the stream.
Watch the Walkthrough Wednesday with Jason and catch up on what you missed:
Take a look at the repository we created and worked on.
Walkthrough Wednesdays with Jason Lengstorf: DEV API project using serverless
We talked Jamstack, serverless, and I got to have some fun and pair with Jason. We used Netlify's serverless functions to quickly set up an API to grab DEV posts with the DEV API, i.e. this repository.
Thanks again for coming on the stream Jason! 😎
- Install the Netlify CLI,
npm install netlify-cli -g
- A browser will open at http://localhost:8888 with a message saying "Not Found". That's OK. 😅
- Navigate to http://localhost:8888/api/posts. A list of posts from DEV will load.
Play with the API
- Load posts for a specific user by adding their username to the API call, e.g. http://localhost:8888/api/posts/nickytonline
- Fork this and have some fun!
Before and After Calling API with On-demand Builders Enabled
In this example we query the posts for DEV community member coffeecraftcode. The initial call comes…
- GitHub CLI
- Netlify CLI and how to quickly deploy and update our API
- Netlify On-demand builders
- The DEV API
- Jamstack Explorers - We forgot to cover this one, but Christina gave it a shoutout at the end of the stream. It's really good. I did the NEXT.js course with @cassidoo a little while back. 😎
Thanks again for coming on the stream, Jason!
I hope to see you on future DEV streams! If you're interested in pairing, fill out this form. Christina and I would love to tackle an issue with you that the whole community could learn from.