This project is a module of Weni integrated inside Weni WebApp (Connect)
Front-end project of Weni's Integrations module. Backend data is gathered from Weni Integrations Engine.
Through Integrations, users of the Weni platform will be able to connect their chatbot with different communication channels. This project was carefully developed with the needs of our clients in mind, with the aim of unlocking the human potential of your organization.
Before running the application, make sure you have installed the following tools on your machine:
- Node.js 18.x
- NPM or Yarn (recommended)
- Open the terminal and clone the repository
git clone https://github.com/weni-ai/weni-integrations-webapp.git
- Enter the created directory
cd weni-integrations-webapp
- Install the dependencies:
yarn
- Create the .env file
- Configure the .env following the patterns below
Variable | Type | Default | Description |
---|---|---|---|
VITE_APP_API_BASE_URL | string |
Empty | URN of the backend environment to API requests. Without slash at the end. |
VITE_APP_WHATSAPP_FACEBOOK_APP_ID | string |
Empty | WhatsApp Facebook App identifier |
VITE_APP_FACEBOOK_APP_ID | string |
Empty | Facebook App identifier |
VITE_APP_LOGROCKET_ID | string |
Empty | LogRocket identifier |
VITE_APP_HELPHERO_ID | string |
Empty | HelpHero identifier |
VITE_APP_PARENT_IFRAME_DOMAIN | string |
Empty | Weni Webapp URL |
VITE_APP_FLOWS_IFRAME_URL | string |
Empty | Flows module URL |
Start the server with:
yarn serve
After that, it will be available at http://localhost:8080.
Command | Description |
---|---|
yarn | Install dependencies |
yarn dev | serve with hot reload at localhost:5173 |
yarn build | Build for production with minification |
yarn build --report | Build for production and view the bundle analyzer report |
yarn translations:build | Build translations for production |
yarn translations:suggest-from-pt-br | Build translations for production with suggestions. Add at least one language in the translations file so that suggestions in other languages can be generated. |
yarn lint | Show lint warnings and errors |
yarn test:unit | Run all tests |
yarn test:unit --watch | Run test in watch mode |
The Weni Platform open source projects are governed by @weni-ai. Weni opens all its software parts under terms of an open-source license to reach potential users and partners mainly. Secondly, Weni wants to reach developers by building a community for some pieces that are more reusable in other businesses or software projects, such as NLP models or tools. Besides that, the openness of our software is also related to building trust by enabling our external stakeholders to audit the security of our software.
- Join our community chat to discuss with our internal team
- Join #dev for help from the community to development issues
We are looking for collaboration from the Open Source community! There's so much we want to do, including but not limited to: enhancing existing applications with new features, optimizing the NLP tasks and algorithms involved that boost accuracy, new communication channels and integrations.
- Please read our contribution guidelines for details on what and how you can contribute.
- Report a bug by using this guideline for details on what and how you can contribute.