Extends Create React App boilerplate to include a Pinterest login button ()when not authenticated) or display the currently logged username and avatar.
- NodeJS version >= 6
- Create a Pinterest app
- 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:
yarn install
HTTPS=true yarn start
will run development server locally on port 3000 using HTTPS (Pinterest API requires it) and launch the default browser.
npm install -g firebase-tools
will install Firebase command line tools (only once, in your local machine)firebase login
yarn build
firebase deploy