mygooder-mautic

1.0.0 • Public • Published

#MyGooder <> Pipedrive API backend

A lightweight Express.js server to handle Pipedrive's API calls without exposing any API access token to clients.

It is currently used to handle Subscription forms submissions, so we get rid of Pipedrive Web Forms.

Install and start

npm install
node index.js

Configuration

The server is listening on port 3004 in development and 3009 in production.
Check /config from the project root to see how configuration is handled using node-config.

Use as a Daemon (recommended for production)

  • Install PM2: npm install -g pm2
  • Install dependencies by running npm install
  • Run NODE_ENV=production pm2 start index.js --name="pipedrive
  • The server will be running in background. PM2 will handle restarting it if it crashes.
  • You can also check the logs, the listening port, and ask PM2 to load it on startup. See this great post on Digital Ocean to learn more about PM2 and how to run it safely without root

Readme

Keywords

none

Package Sidebar

Install

npm i mygooder-mautic

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

6.83 kB

Total Files

5

Last publish

Collaborators

  • superbiche