https://github.com/robsonkades/crm-integration-nodejs
📦 ⚡ 🚀 Challenge LinkApi Integration Pipedrive with Bling
https://github.com/robsonkades/crm-integration-nodejs
api-gateway aws integration nodejs serverless
Last synced: 3 months ago
JSON representation
📦 ⚡ 🚀 Challenge LinkApi Integration Pipedrive with Bling
- Host: GitHub
- URL: https://github.com/robsonkades/crm-integration-nodejs
- Owner: robsonkades
- Created: 2020-12-23T01:48:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-04T21:29:56.000Z (over 4 years ago)
- Last Synced: 2025-01-11T02:51:46.380Z (5 months ago)
- Topics: api-gateway, aws, integration, nodejs, serverless
- Language: TypeScript
- Homepage:
- Size: 271 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Challenge linkapi
Serviço serverless de integração pipedrive com bling.
**Construido utilizando**
Esse exemplo foi construido com base no [projeto](https://github.com/inovedev/serverless-architecture-boilerplate)
- API Gateway
- AWS Lambda
- DynamoDB
- X-Ray
- Mongoose
- Express
- Yup
- Jest
- Serverless.js
- Typescript
- Serverless Offline
- Debug
- Husky
- Commitlint
- S.O.L.I.D## Installation
- Node.js v12+ [install](https://nodejs.org/en/download/)
- AWS CLI [install](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html)
- Serverless.js [install](https://www.serverless.com/framework/docs/getting-started/)## Configuration
- Criar `access-key-id` and `secret-access-key` na aws [link](https://aws.amazon.com/blogs/security/wheres-my-secret-access-key/)- Configurar credentials no serverless.js [link](https://www.serverless.com/framework/docs/providers/aws/cli-reference/config-credentials/)
### Environment
- `PIPEDRIVE_TOKEN`: Token de aplicação do pipedrive
- `BLING_TOKEN`: Token de aplicação Bling
- `DEBUG`: Logs da aplicação
- `MONGO_URL`: Url de conexão com o mongoDB## Architecture

## Execution
Download das dependências
```bash
yarn install
```Executando localmente
```bash
yarn dev
```Deploy do serviço na AWS
```bash
yarn deploy
```## Documentation
Documentação das apis pode ser consultada no swagger em `http://localhost:3000/dev/api-docs`.