npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@bigbinary/neeto-integrations-frontend

v2.12.7

Published

UI for integrations in neeto products

Downloads

2,691

Readme

neeto-integrations-nano

The neeto-integrations-nano provides support for third-party integrations to neeto applications. The nano exports the @bigbinary/neeto-integrations-frontend NPM package and neeto-integrations-engine Rails engine for development.

The engine handles the authentication, webhooks and token management for integrations with the following providers.

  • Meta ( Facebook, Instagram, WhatsApp )
  • Google ( Analytics, YouTube )
  • Microsoft ( MS Teams)
  • Zapier
  • Twilio

Host can provide required permissions for a supported third-party integration, then engine will handle the authentication, token storing and refreshing for the host. Tokens, account details and webhook subscription details are stored in tables handled by the engine.

The frontend package provides components to handle integration card, steps, disconnect and other integration configuration page support.

Contents

  1. Development with Host application
  2. Instructions for publishing

Development with Host application

Engine

Installation

  1. Add the gem to your Gemfile.
source "NEETO_GEM_SERVER_URL" do
  gem "neeto-integrations-engine"
end
  1. Run bundle install

  2. Add the required env variables to .env.development and update your secrets.yml. Refer OAuth Config for more details on specific integrations.

  3. Import migrations to your project:

bundle exec rails neeto_integrations_engine:install:migrations
  1. Add the migrations to the database:
bundle exec rails db:migrate
  1. Add the Integrations List required to config/neeto_integrations.yml. Also, add the required integration(not natively supported by engine) as other_applications for post Integration UI support.
applications:
  - title: "Instagram Chat"
    service_name: Instagram
    provider: Facebook
    service_type: Social
    scope:
      - email
      - public_profile
      - pages_show_list
      - instagram_manage_messages
      - instagram_basic
other_applications:
  - title: "neetoDesk"
    service_name: neetoDesk
    service_type: Support
    provider: neeto

Refer the Oauth Config for list of supported provider, service_name and service_type.

  1. Import data migration to update the integrations list with the newly added integration from config/neeto_integrations.yml:
bundle exec rails generate neeto_integrations_engine:integrations_list:update

Or manually execute the following command in all the environments to update the integrations list. Although the above approach is recommended.

bundle exec rails neeto_integrations_engine:integrations_list:update
  1. Mount Neeto Integrations to your routes.rb:
mount NeetoIntegrationsEngine::Engine => "/neeto_integrations"
  1. Add association to User model:
has_many :auth_requests, class_name: "NeetoIntegrationsEngine::AuthRequest", dependent: :destroy
  1. Add association to Organization model:
has_many :integrated_apps, class_name: "NeetoIntegrationsEngine::IntegratedApp", dependent: :destroy
  1. If you want your integration to be specific to other model like User, Form , etc, add association as:
has_many :integrated_apps, as: :integrable, class_name: "NeetoIntegrationsEngine::IntegratedApp", dependent: :destroy

Details

neeto products currently using this engine

| Products | Integrated (Used in production) | Integration (Currently in development/staging) | | :---------: | :------------------------------------------------------------------: | :--------------------------------------------: | | neetoChat | :x: | Instagram, WhatsApp, Twilio, Zapier, MS Teams | | neetoSocial | Instagram(page), Facebook(page), Google(Analytics, YouTube), Twitter | :x: | | neetoCal | MS Teams | :x: | | neetoForm | :x: | MS Teams |

Frontend package - @bigbinary/neeto-integrations-frontend

npm npm

UI for integrations for all neeto products.

Installation

yarn add @bigbinary/neeto-integrations-frontend

Usage

Available components:

Product integrations

| Projects | IntegrationsFrontend | | ------------ | :------------------: | | neetoChat | :white_check_mark: | | neetoDesk | :white_check_mark: | | neetoForm | :white_check_mark: | | neetoInvoice | :white_check_mark: | | neetoKB | :white_check_mark: | | neetoMonitor | :white_check_mark: | | neetoCal | :white_check_mark: |

Instructions for development

Check the Frontend package development guide for step-by-step instructions to develop the frontend package.

Instructions for Publishing

Consult the building and releasing packages guide for details on how to publish.