Skip to content

Conversation

@mzhirnov1
Copy link

This commit introduces a new, self-contained Node.js/Express module for managing Green API instances for a Bitrix24 integration.

Key changes include:

  • Added all necessary files for the Express application, including models, services, controllers, and routes.
  • Implemented a service to interact with the Green API partner endpoints.
  • The createInstance service now makes a real API call to the partner API to provision a new WhatsApp instance, replacing the previous simulation.
  • The instance.controller has been updated to use this new service.
  • Added a .gitignore file to exclude node_modules and other unnecessary files.
  • Installed all required npm dependencies.
  • Fixed a missing crypto import in the greenApi.service.js file.

This commit introduces a new, self-contained Node.js/Express module for managing Green API instances for a Bitrix24 integration.

Key changes include:
- Added all necessary files for the Express application, including models, services, controllers, and routes.
- Implemented a service to interact with the Green API partner endpoints.
- The `createInstance` service now makes a real API call to the partner API to provision a new WhatsApp instance, replacing the previous simulation.
- The `instance.controller` has been updated to use this new service.
- Added a `.gitignore` file to exclude `node_modules` and other unnecessary files.
- Installed all required npm dependencies.
- Fixed a missing `crypto` import in the `greenApi.service.js` file.
@mzhirnov1
Copy link
Author

авыаыва

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant