2.0.3 ā€¢ Published 6 months ago

askless v2.0.3

Weekly downloads
22
License
MIT
Repository
github
Last release
6 months ago

Askless: A coherent Node.js Backend for Flutter

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, handle WebSocket authentication, and quickly add audio and video calls with WebRTC!

This is the server side in Node.js, click here to access the Askless Flutter Client

Built with Askless

https://github.com/RodrigoBertotti/Askless/assets/15431956/ea701f18-f1a5-422d-be5f-51042894f073

Important links

Examples

  • Advanced Chat Example: A beaultiful Chat App with receiving & typing events + local storage + register & login.

Getting Started

1 - Install Askless

npm install --save askless 

2 - Import the package

import { AsklessServer } from "askless";

3 - Create and init the server

const server = new AsklessServer();

server.init({
    wsOptions: { port : 3000 }
});

4 - Check the documentation and create your server first App with Askless, you can also check the examples.

5 - Start the server

server.start();

6 - Discover your server url on your local network:

console.log(server.localUrl) 

Run the server, it will print something like: ws://192.168.?.?:3000

Issues

Feel free to open an issue about:

  • :grey_question: questions

  • :bulb: suggestions

  • :page_facing_up: documentation improvements

  • :ant: potential bugs

License

MIT

Contacting me

šŸ“§ rodrigo@wisetap.com