Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Yuri Ramocan
Yuri Ramocan
2,920 Points

Is it possible to create a blog from JSON data?

Hi all,

I'm looking to create a blog using Wordpress as a backend. I was able to get the data from Wordpress with the REST API plugin and am looking to take that JSON data and use it in a separate front-end (outside of the Wordpress environment).

I understand I could create something like a single-page application that would allow me to display the data I retrieve from Wordpress, but I'm looking to take it one step further and give each of the post objects their own URL. It sounds like I may have to take the JSON data and import it to my Express app's (Node.js) database, but is that the only option?

If so, how could I go about doing that?