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! π
Installation
- Install the Netlify CLI,
npm install netlify-cli -g
- Run
npm install
- Run
ntl dev
- 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β¦
On this stream, we covered:
- 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!
You can also find the three of us all over the web here:
Jason:
Nick:
Christina:
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.
P.S. Follow DEV on Twitch to be notified when future streams begin and catch old streams on YouTube
Top comments (0)