My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

NodeJS and JSON pull request

Roger K.'s photo
Roger K.
·Aug 10, 2016

Hey gang,

I was using CodePen and I wrote a very basic (that's my level mostly) on pulling some JSON from (my) GitHub and it worked last I played with it, but now I want to just mess around with it on my computer; yes I've installed NodeJS btw. With NodeJS installed I thought I could just write an HTML page and include the JS like a normal webpage and then run it.

This is the JSON and URL I use to pull too. http://codepen.io/misterhtmlcss/pen/wWzRVJ

Can anyone give me an idea what I need to do on my computer (mac osx) that's different? Or a good tutorial?

I'd just like to mess around exclusively on my laptop and build, rewrite and widen this code from useless and a basic call to something more and I'm not sure what the minimum foundation is to get started.

Simplest solution that allows me to get started and working would be most appreciated. The perfect long-term solution that requires a whole bunch of additional learning while appreciated isn't today or this months goal.

Please and Thank you!!