A very basic example of how to:
- Authorize with OAuth using passportjs.
- Get all open deals from Pipedrive.
- Mark selected deal randomly as won or lost.
This repository contains non-production code.
Sensitive information, such as tokens or credentials, should always be securely encrypted and stored according to best practices. Do not use hardcoded or plaintext tokens in production.
Follow the instructions in the Tutorial to get started.
- Create a test app in Developer Hub with the following callback URL: http://localhost:3000/auth/pipedrive/callback
- Run npm install
- Rename config.example.js to config.js and edit the clientID and clientSecret values
- Run
npm run dev
and open http://localhost:3000/