api-gateway-crm

Description - Technologies - Setup - Features - Status - gRPC Integration - RabbitMQ Integration - Enums Classes - API Rest request - Web Sockets Events - Contact

Usage no npm install needed!

<script type="module">
  import apiGatewayCrm from 'https://cdn.skypack.dev/api-gateway-crm';
</script>

README

A Microservice for managing the front end access to the microservices architecture

Table of contents

Description

CRM Api Gateway project repository

Technologies

  • TypeScript- version 3.6.3
  • NestJS- version 6.7.2
  • Mongoose - version 5.7.6
  • AMQP - version 0.5.5
  • Web socket - socket.io 2.1
  • gRPC - version 1.24.2

Setup

Install the dependencies

$ npm install

Run the project

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

# environment file
$ JWT_SECRET
$ RABBITMQUSER
$ RABBITMQPASSWORD
$ RABBITMQHOST
$ RABBITMQPROTOCOL
$ RABBITMQPORT
$ RABBITMQQUEUE
$ RABBITMQVHOST
$ RABBITMQEXCHANGERESPONSE

Features

  • Access gateway for the backend microservices architecture

Status

Project is: in progress because we are still integrating the backend infrastructure

gRPC Integration

This project automatically runs a server using Protocol buffers. Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.

RabbitMQ Integration

This project automatically creates one queue in the RabbitMQ server to save errors in a logger.

Enums Classes:

Enum CRM Authorization users

CRM Authorization users

Enum CRM Segmentation

CRM Segmentation

Enum CRM Message gateway

CRM Message gateway

Enum CRM Campaign

CRM Campaign

API Rest request

Examples of request for CRM Authorization users

CRM Authorization users

Examples of request for CRM Companies

CRM Companies

Examples of request for CRM Segmentation

CRM Segmentation

Examples of request for CRM Message gateway

CRM Message gateway

Examples of request for CRM Campaign

CRM Campaign

Web Sockets Events

CRM Authorization Users Events

CRM Authorization users

CRM Segmentation Events

CRM Segmentation

CRM Message gateway Events

CRM Message gateway

CRM Campaign

CRM Campaign

Contact

  • Author - [JosuĂ© Chaves]
  • Email - [josue.chaves@gamanza.com]