RodrigoBertotti / Askless

A framework to build websocket servers for Flutter Apps that lets you update your widgets in realtime by streaming data changes with WebSockets. Create your Flutter App without Firebase, with PostgreSQL, MySQL, or any database you want, and handle WebSocket authentication
MIT License
22 stars 1 forks source link

Friend requests using askless (and not http) #3

Closed rn-netizen closed 5 months ago

rn-netizen commented 5 months ago

Hi Rodrigo,

I was wondering how we could create a friend request system using askless. It's not hard to create it using http but i wonder how we would do it using askless. I tried using server actions but i don't really see how we can do it.

RodrigoBertotti commented 5 months ago

Hello, thank you for checking Askless

Please check the documentation and examples, the information you need is there 🤗

I wish you success in your project!

rn-netizen commented 5 months ago

Thank you for your response, it helped me so much! Also, is there something to test requests to the server like postman? I tried postman but it doesn't work with askless and also, when i try to use js client I get errors.

On Mon, Apr 29, 2024 at 8:15 PM Rodrigo João Bertotti < @.***> wrote:

Closed #3 https://github.com/RodrigoBertotti/Askless/issues/3 as completed.

— Reply to this email directly, view it on GitHub https://github.com/RodrigoBertotti/Askless/issues/3#event-12647213469, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFCXRE2I3AJPP53DMFXQXI3Y72E55AVCNFSM6AAAAABG6ZCC7OVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGY2DOMRRGM2DMOI . You are receiving this because you authored the thread.Message ID: @.***>

RodrigoBertotti commented 5 months ago

I'm glad it helped!

Unfortunately, there isn't a tool for testing Askless, Postman doesn't work because Askless relies on WebSocket rather than HTTP

RodrigoBertotti commented 5 months ago

Also, keep in mind the JS Client for Askless is discontinued, Askless is a Node.js Framework that only supports Flutter clients right now