Skip to content

Latest commit

 

History

History
124 lines (85 loc) · 5.84 KB

README.md

File metadata and controls

124 lines (85 loc) · 5.84 KB

codecov License: MPL 2.0

🖥️ Weni-Webapp

This repository is responsible for integrating the other modules (Flows, Artificial Intelligence, Integrations, Chats and Academy), making them the Weni Platform using microfrontend architecture.

About Weni Plataform

The Weni Platform allows the creation of chatbots in a simple and fast way, improving communication with customers and automating processes. It can be integrated with various chat, messaging and social media solutions, serving companies of different sizes that want a robust service solution to offer customer support or manage internal processes. The platform can be used in various sectors, such as sales, marketing, finance, human resources, among others.

In addition, the Weni tool offers features to provide duplicate payment slips, list installments available for payment, create opportunities and register new customers, provide 24/7 customer service and create FAQs to clarify doubts, among other existing processes in the company. This reduces work, optimizes tasks and streamlines service, providing a humanized and interactive conversational flow.

Usability documentation

Weni Platform welcome screenshot

Technologies

Requirements

Before running the application, make sure you have installed the following tools on your machine:

Setup

  1. Open the terminal and clone the repository
git clone [email protected]:weni-ai/weni-webapp.git
  1. Enter the created directory
cd weni-webapp
  1. Install the dependencies
yarn

How to develop

Environment variables

  1. Rename the .env.sample file to .env.local
  2. Configure the .env.local following the patterns below
Variable Type Default Description
VITE_ROOT_API string Empty HTTP service API URL ( remember to pass "/" at the end)
VITE_KEYCLOAK_ISSUER string Empty Keycloak base API
VITE_KEYCLOAK_CLIENT_ID string Empty Keycloak client ID
VITE_KEYCLOAK_REALM string Empty Keycloak Realm
VITE_SENTRY_DSN_ENDPOINT string Empty Sentry DSN endpoint
VITE_HELPHERO string Empty HelpHero identifier
VITE_STRIPE_API string Empty Stripe Public Key
VITE_BOT_URL string Empty Internal Bot URL
VITE_2FA_APP_ANDROID string Empty Two-factor authentication App Link for Android
VITE_2FA_APP_IOS string Empty Two-factor authentication App Link for iOS
VITE_URL_ACADEMY string Empty Academy module URL
VITE_URL_FLOWS string Empty Flows module URL
VITE_MODULE_CHATS string Empty Chats module URL

Tokens

...

Execution

Start the server with:

yarn serve

After that, it will be available at http://localhost:9000.

Development Workflow

Command Description
yarn install Install dependencies
yarn serve Run serve with hot reload at localhost:9000
yarn build Build for production with minification
yarn lint Show lint warnings and errors
yarn test:unit Run all tests
yarn test:unit --watch Run test in watch mode
yarn translations:build Build the unified translations.json into separated translation files
yarn translations:suggest Generate English and Spanish translations from Portuguese input

Open-Source Governance

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.

Community

  • Join our community chat to discuss with our internal team
  • Join #dev for help from the community to development issues

Contributing

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.