UPDATED, here's the original post
Hi Dev.to peeps,
I'm looking for an article, example or tutorial to get a minimal Gatsby-Site started, with JSON-data from a public REST-Api (like a list of Marvel-Heroes from their Api, with a detail-page for each).
Thanks!
At first I thought it would be much more complicated to wire up a custom REST-API to Gatsby.
Turns out it's not that hard. I followed the steps on this Stack-Overflow-Post. Thanks to Arden de Raaij for posting this in the comments!
Shoutout to Danilo Miranda and Petro Liashchynskyi for their links to also very insightful getting-started-articles!
Top comments (6)
Hi Antonio!
I don't know if you still need it, but I wrote an article myself about how to get started with Gatsby
danmiranda.io/getting-started-with...
Hit me up if you need any help or other resources!
Hi Antonio! You might want to have a look at the creating a source plugin page on the Gatsby site. Also, this StackOverflow answer provides some excellent guidance on how to pull in data from a custom Rest API: stackoverflow.com/a/49317803
This is excellent, thanks!
If this were StackOverflow, you'd have a green checkmark now.
Yoo, wasssup 😁 Check out this tutorial from Traversy Media 😉
Thank you!
Does it include using a custom Rest-Api as data-source?
But does anyone thinks is better for SEO? sorry I don't know much about it