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
This is the server side in Node.js, click here to access the Askless Flutter Client
Check the example of a Flutter Chat App with Node.js, WebSockets and MySQL.
commented_askless_example.mp4
🔊 The video above contains audio, click on the right side to turn it on
- Askless Backend in Node.js the backend side of this Flutter client
- Documentation
- Askless Flutter Client
- Level: 🔴 ⚪ ⚪ ⚪ ⚪ Flutter Random Numbers Example: Random numbers are generated on the server.
- Level: 🔴 🔴 ⚪ ⚪ ⚪ Flutter Simple Chat Example: Simple chat between the colors blue and green.
- Level: 🔴 🔴 🔴 ⚪ ⚪ Flutter Catalog Example: Users adding and removing products from a catalog.
- Level: 🔴 🔴 🔴 🔴 🔴 Flutter Chat App with MySQL or PostgreSQL : A Flutter Chat App with MySQL, WebSockets, and Node.js
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
Feel free to open an issue about:
-
❔ questions
-
💡 suggestions
-
📄 documentation improvements
-
🐜 potential bugs