Skip to content

Simple demo app to show Pinterest API from Javascript using React

License

Notifications You must be signed in to change notification settings

dcifuen/pinterest-sdk-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create React App Pinterest API diagnose tool

Extends Create React App boilerplate to include a Pinterest login button ()when not authenticated) or display the currently logged username and avatar.

Requirements

  • NodeJS version >= 6

Installation and Run

  1. Create a Pinterest app
  2. Make sure there is an environment variable called REACT_APP_PINTEREST_APP_ID with the generated Pinterest app ID. You can use any supported mechanism

In the project directory, run:

  1. yarn install
  2. HTTPS=true yarn start will run development server locally on port 3000 using HTTPS (Pinterest API requires it) and launch the default browser.

Deploy to Firebase

  1. npm install -g firebase-tools will install Firebase command line tools (only once, in your local machine)
  2. firebase login
  3. yarn build
  4. firebase deploy

About

Simple demo app to show Pinterest API from Javascript using React

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published