An integration system between Pipedrive and Bling
The project aims to integrate the Bling and Pipedrive platforms through a RESTFul API, saving Won Deals from the Pipedrive platform as Orders on the Bling platform, in addition to saving this information in a MongoDB collection.
- Using npm
npm install
- Using yarn
yarn
If you do not have a Mongo Atlas account, install a version of mongodb locally or use the docker.
If you have the docker, run the command:
docker run -d --name mongodb -p 27017:27017 mongo
To configure the connection URL (locally/docker or mongo atlas), just change in the .env
file the value of the URL_CONNECT_MONGODB
property.
URL_CONNECT_MONGODB="mongodb://localhost:27017/pipedrivebling"
To obtain the API KEY in the Bling you will need to create an user API type and the token will automatically be displayed, See this link.
At pipedrive, create an account and access this url https://<your_company>.pipedrive.com/settings/api
by changing the value of <your_company>
by what was generated to view the KEY API
With the two API KEY, just change the token fields of each service in the .env
file:
PIPEDRIVE_API_KEY="api_key_pipedrive"
BLING_API_KEY="api_key_bling"
yarn build
yarn start
docker-compose up
Go to the docs
directory and run:
yarn && yarn start