This repository is responsible for integrating the other modules (Flows, Artificial Intelligence, Integrations, Chats and Academy), making them the Weni Platform using microfrontend architecture.
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.
- Vue 2
- Unnnic (Weni's Design System)
- Vue Router 3 for Vue 2
- Vuex 3 for Vue 2
- Vue I18n v8.x for Vue 2
- Sass
- Axios
Before running the application, make sure you have installed the following tools on your machine:
- Node.js 18.16.1
- NPM or Yarn (recommended)
- Open the terminal and clone the repository
git clone git@github.com:weni-ai/weni-webapp.git
- Enter the created directory
cd weni-webapp
- Install the dependencies
yarn
- Rename the .env.sample file to .env.local
- 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 |
...
Start the server with:
yarn serve
After that, it will be available at http://localhost:9000.
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 |
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.