You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 11, 2025. It is now read-only.
Askless was redesigned and is even better! So you can build your App and backend like a pro!
- Several bug fixes
- A new way of building real-time Apps
- Askless now allows you to elevate your App by adding video and audio calls to your Flutter App!
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!
4
4
5
-
Framework that facilitates building servers for JavaScript and Flutter Apps
6
-
allowing to:
5
+
This is the server side in Node.js,
6
+
**[click here to access the Askless Flutter Client](https://github.com/RodrigoBertotti/askless-flutter-client)**
7
7
8
-
-:handshake: perform a websocket connection to exchange data that:
8
+
## Built with Askless
9
9
10
-
-:vibration_mode: supports streams on the client side in Flutter
10
+
[//]: #(TODO VIDEO)
11
11
12
-
-:computer: supports JavaScript clients: Web and Node.js
13
-
14
-
-:arrow_right_hook: it retries to send data automatically in case of connectivity issues between the client and the server
15
-
16
-
-:label: handles multiples and identical `listen` requests from a client as a single one in the server
17
-
18
-
-:pencil2: create your own CRUD operations with any database you like (**C**reate, **R**ead, **U**pdate and **D**elete)
19
-
20
-
-:no_entry: restrict client access to CRUD operations
21
-
22
-
-:mega: notify in real-time clients who are listening for changes in a route, you can choose:
23
-
24
-
-:no_pedestrians: only specify clients will receive the data
25
-
26
-
-:heavy_check_mark: all clients will receive the data
27
-
28
-
-:lock: accept and deny connection attempts
29
-
30
-
This is the server side in Node.js, check also the
* <sup>Level: :red_circle::white_circle::white_circle::white_circle::white_circle: </sup> [Flutter Random Numbers Example](example/chat): Random numbers are generated on the server.
19
+
* <sup>Level: :red_circle::red_circle::white_circle::white_circle::white_circle: </sup> [Flutter Simple Chat Example](example/chat): Simple chat between the colors blue and green.
20
+
* <sup>Level: :red_circle::red_circle::red_circle::white_circle::white_circle: </sup> [Flutter Catalog Example](example/catalog): Users adding and removing products from a catalog.
21
+
* <sup>Level: :red_circle::red_circle::red_circle::red_circle::red_circle: </sup> [Flutter Chat App with MySQL or PostgreSQL + video and audio calls](https://github.com/RodrigoBertotti/flutter_chat_app_with_nodejs): A Flutter Chat App with MySQL, WebSockets, and Node.js, supports live video and audio calls streaming with WebRTC in Flutter
7 - Simulating changes of `trackingStatus` in the server
44
+
4 - Check the **[documentation](documentation.md)** and create your server first App with Askless, you can also check the **[examples](#important-links)**.
103
45
104
-
let kmRemaining = 101;
105
-
const kmRemainingTask = setInterval(() => {
106
-
if(kmRemaining == 0){
107
-
return clearInterval(kmRemainingTask);
108
-
}
46
+
5 - Start the server
109
47
110
-
kmRemaining--;
111
-
trackingStatus = 'Product is '+kmRemaining+' km from you';
112
-
113
-
server.notifyClients('product/tracking', {
114
-
output: trackingStatus
115
-
});
116
-
}, 3 * 1000);
48
+
server.start();
117
49
118
-
8 - Discover your server url on your local network:
50
+
6 - Discover your server url on your local network:
119
51
120
52
console.log(server.localUrl)
121
53
122
54
Run the server, it will print something like: `ws://192.168.?.?:3000`
123
55
124
-
9 - Configure the [client side in Flutter.](https://github.com/WiseTap/askless-flutter-client)
125
-
126
56
## Issues
127
57
128
-
Feel free to open a issue about:
58
+
Feel free to open an issue about:
129
59
130
60
-:grey_question: questions
131
61
@@ -139,4 +69,6 @@ Feel free to open a issue about:
0 commit comments