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.
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:
I changed
PIN_APP
insrc\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.