Skip to content

jrCleber/bot-baileys-firebase

Repository files navigation

bot-baileys-firebase

Discord Telegram Whatsapp

Service Bot Via Whatsapp

This project was developed based on the library @adiwajshing/baileys for handling whatsapp chats, and uses Firestore, a database NoSql from Firebase.


Objective

This application aims at automated fulfillment and order management.

Functions

  1. customer registration
  2. order management
  3. address registration
  4. order registration and shipment to production
  5. order cancellation

To execute the project

  1. run the command: git clone https://github.com/jrCleber/bot-baileys-firebase.git
  2. create a new project in firebase, select the firestore and configure the database
    • then click on project settings -> accounts and services -> generate a new private key
    • save the key in the path ./firebase/token/ with the following name: serviceAccountKey.json
  3. install dependencies:
    • with package manager yarn, run the command: yarn or yarn install
    • with npm, run the command: npm install
  4. to start the app:
    • with yarn run: yarn start:app
    • with npm run: npm run start:app
      ↳ both commands above will create transpile the code, saving it in the dist folder
    • yarn dev or npm run dev will run the code in developer mode; with code transpilation at runtime
  5. All right now. HAVE A GOOD TIME!

This application does not manage payments, routing to attendants and general edits.


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published