feri-irawan / baileys-express-socketio-boilerplate

A boilerplate project that combines Baileys, Express, Socket.IO, and TypeScript technologies for a WhatsApp Bot.
8 stars 3 forks source link

Is this project running well? #1

Closed JoaoNetoDev closed 11 months ago

JoaoNetoDev commented 11 months ago

I used the salman0ansari/whatsapp-api-nodejs project, however, it was archived... I see that this project is new, but I would like to know if it is working well, and if it is alive to make possible corrections.

Thank you very much!

feri-irawan commented 11 months ago

Yes, it working well, I just cloned it an hour ago

JoaoNetoDev commented 11 months ago

Is there any route material to use it, like Postman JS for example, or just opening and searching the routes in the code? Run at first, I just tested successfully here too

feri-irawan commented 11 months ago

Some comments in the codes written in Indonesian language.

feri-irawan commented 11 months ago

Is there any route material to use it, like Postman JS for example, or just opening and searching the routes in the code? Run at first, I just tested successfully here too

It's not in the documentation yet, you can check the src/routeHandlers file

JoaoNetoDev commented 11 months ago

I'm not sure if this API can meet my needs... is it capable of webhooking incoming messages and sending messages (text, audio, video and document)?

feri-irawan commented 11 months ago

Yes, it can be done, but for now, I have not added those features, so you can improve the code.

You can import and use io const from server.ts for realtime communication with the frontend, or create some new routes for webhook, send videos, images, etc.

Check routeHandlers.ts for route examples and wa.ts for io examples.

feri-irawan commented 11 months ago

@JoaoNetoDev this project was updated in #2