# Yarn
yarn
# NPM
npm install
This repository uses Yarn.
PIPEDRIVE_API_KEY=<...>
JWT_SIGNING_KEY=<...>
How to find your Pipedrive API key
For testing, you can use the following command:
# Yarn
yarn serve
# NPM
npm run serve
Deploy to a server of your choice. It must run the start
script:
# Yarn
yarn start
# NPM
npm run start
You can deploy this to Zeit Now or Heroku straight out of the box.
You'll need to configure the environment variables depending on your system.
-
Zeit Now environment variables documentation
now.json
is preconfigured - all you have to do is add the variable via the command line:now secrets add pipedrive-api-key <...> now secrets add jwt-signing-key <...>
-
Heroku environment variables documentation
Deploy with the button above, then visit the Heroku dashboard to set the variables.