Tutorial on building slack like app with Angular 2, Spring MVC 4 and SockJS.
You can find first version of this tutorial on the master branch which focuses on how to build an chat app with Angular 1, Node.js and Socket.IO.
Tutorial on building chat app with node.js, socket.io and angular.js.
Tutorial on building slack like app with Angular 2, Spring MVC 4 and SockJS.
You can find first version of this tutorial on the master branch which focuses on how to build an chat app with Angular 1, Node.js and Socket.IO.
入口文件app.js里面:
var Controllers=require("./controllers"); //这个地方引用的是一个文件夹,会报错。
是不是应该直接改为引用文件夹里面的文件.然后调用其方法
var Controllers=require("./controllers/user.js");
在router.js文件里面
$locationProvider.html5Mode({
enabled:true,
requireBase:false, //这个地方要配置下,否则会报错[$location:nobase]
})
写到socket.io验证那个地方就写不下去了。仅仅实现了路由的请求,发送消息的内容实现不了。
在看Chapter01的时候发现一些问题,能不能修改后提交pull request?
这行代码有点拼写问题。
josn -> json
相应的文档也是一样。02-让用户不再匿名.md
外加充实README
在将socket.io封装成service的时候
应该要把
var socket=io.connect("/");
改成
var socket=io.connect("http://localhost:3000");
否则一直会报错说连接不到后台的。
头像地址对应的键不对
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.