在本视频中,我将解释本教程的步骤,即如何使用非常基本的Node.js为前端客户端和后端使用离子(JavaScript / HTML)构建基于Web的WebSocket多客户端聊天。服务器。
完整的分步教程在我的博客上:https://www.londonappdeveloper.com/how-to-build-a-websocket-multi-client-chat-using-ionic-and-node-js/
该代码可在Github上找到:https://github.com/LondonAppDev/tutorial-multi-chat-client
单击下面以跳过演练的各个部分:
0:33离子骨架的解释
0:52使用Node.js的非常基本的后端
2:06首先是将git仓库克隆到本地计算机
3:48接下来克隆服务器
4:29下一步是在应用程序上运行NPM安装
5:43从服务器项目开始
7:25创建一个新的Websocket服务器对象
11:13客户端代码html文档
14:40解释ng-show
18:00 SubmitName点击事件
18:36聊天屏幕
22:20项目的JavaScript部分
25:10范围变量
26:27应用程序客户端使用的不同功能
30:52日志消息功能
33:11范围功能
36:47应用程序在行动(演示)-如何运行项目
37:20启动服务器
39:28运行项目
39:50 App模拟
感谢收看!
如果您喜欢此视频,请在http://www.londonappdeveloper.com/上查看我的教程。
了解如何使用Python和Django REST Framework构建后端:https://www.udemy.com/django-python/。
Hi Sir ,Can you made a video on WEBRTC RTCPEERCONNECTION STUN, TURN and SIGNALING (ONE TO ONE VIDEO CONFERENCING)
THAT WILL BE VERY HELPFULL
Its ok but can you explain how to connect php with ionic 3x chat application?
Hi great tutorial. I may have missed it but can I simply place the node.js server code on my web server and point to this address from the AngularJS controller? I'm sure you explained this but where can I find this in your example code?
can you tell me the theme's name of ubuntu?
Tks you for sharing