pinterest-api-demo icon indicating copy to clipboard operation
pinterest-api-demo copied to clipboard

How to run the demo?

Open timbonicus opened this issue 8 years ago • 0 comments

Is this demo only meant to be run on Heroku? I naively tried to clone the repo and set it up locally as a starting point to poke around with the Pinterest API.

I managed to get it running with:

npm install
npm run dev
node server.js

I changed PIN_APP in src\js\util\const.js to my app ID. At this point, I discovered that the redirect URI is needed and redirect URIs have to be https, which this project doesn't set up locally.

I'll feel a bit sheepish if this is only meant to be a reference demo, rather than a runnable example. If it's Heroku-only, a note to that effect would save some naive developer time.

timbonicus avatar Jun 20 '16 03:06 timbonicus