All Projects → wuyanxin → Chatapp Demo

wuyanxin / Chatapp Demo

Licence: mit
⚡️ multi room chat app demo, powered by socket.io

Projects that are alternatives of or similar to Chatapp Demo

Node Server Project
基于 node.js + express 技术栈,采用MVC结构设计、JWT + RESTful API、PM2服务监控的Node服务器端项目框架.
Stars: ✭ 47 (-54.81%)
Mutual labels:  handlebars
Handlebars.java
Logic-less and semantic Mustache templates with Java
Stars: ✭ 1,204 (+1057.69%)
Mutual labels:  handlebars
Dataformsjs
🌟 DataFormsJS 🌟 A minimal JavaScript Framework and standalone React and Web Components for rapid development of high quality websites and single page applications.
Stars: ✭ 95 (-8.65%)
Mutual labels:  handlebars
Admin4b
Bootstrap 4 Admin Template
Stars: ✭ 58 (-44.23%)
Mutual labels:  handlebars
Sing App
💥Free and open-source admin dashboard template built with Bootstrap 4.5 💥
Stars: ✭ 1,187 (+1041.35%)
Mutual labels:  handlebars
Openjdk Website
Website source
Stars: ✭ 86 (-17.31%)
Mutual labels:  handlebars
Book
The Rust and WebAssembly Book
Stars: ✭ 1,021 (+881.73%)
Mutual labels:  handlebars
Scriban
A fast, powerful, safe and lightweight scripting language and engine for .NET
Stars: ✭ 1,360 (+1207.69%)
Mutual labels:  handlebars
Template.js
A javascript template engine, simple, easy & extras, support webpack, rollup, parcel, browserify, fis and gulp
Stars: ✭ 1,201 (+1054.81%)
Mutual labels:  handlebars
Wet Boew
Web Experience Toolkit (WET): Open source code library for building innovative websites that are accessible, usable, interoperable, mobile-friendly and multilingual. This collaborative open source project is led by the Government of Canada.
Stars: ✭ 1,319 (+1168.27%)
Mutual labels:  handlebars
Html to pdf
Generate a simple invoice PDF from HTML using puppeteer & handlebars
Stars: ✭ 62 (-40.38%)
Mutual labels:  handlebars
Seed Quickstart Webpack
Template for web apps with Seed (Rust framework), TailwindCSS and Webpack.
Stars: ✭ 73 (-29.81%)
Mutual labels:  handlebars
Koa Starter
🐨 A starter kit for a slightly opinionated koa project.
Stars: ✭ 87 (-16.35%)
Mutual labels:  handlebars
Fauxghost
FauxGhost Ghost blog theme
Stars: ✭ 56 (-46.15%)
Mutual labels:  handlebars
Electronjs.org
Electron website
Stars: ✭ 1,341 (+1189.42%)
Mutual labels:  handlebars
Sparkles
✨ is a web "framework" in Rust
Stars: ✭ 46 (-55.77%)
Mutual labels:  handlebars
Ghost Caspro
👀ghost博客系统caspro主题,响应式,自适应,简洁
Stars: ✭ 87 (-16.35%)
Mutual labels:  handlebars
Quarkus Tutorial
Quarkus Tutorial for https://dn.dev/master
Stars: ✭ 103 (-0.96%)
Mutual labels:  handlebars
Ember Cli Postcss
🔥 A Postcss integration for ember-cli
Stars: ✭ 97 (-6.73%)
Mutual labels:  handlebars
Accessible Html Content Patterns
♿️ The full HTML5 Doctor Element Index as well as common markup patterns for quick reference.
Stars: ✭ 93 (-10.58%)
Mutual labels:  handlebars

文章:http://www.jianshu.com/p/40d8bc17529f

多房间聊天

socket.io提供rooms和namespace的API 用rooms的API就可以实现多房间聊天了,总结出来无外乎就是:join/leave room 和 say to room

// join和leave
io.on('connection', function(socket){
  socket.join('some room');
  // socket.leave('some room');
});

// say to room
io.to('some room').emit('some event'):
io.in('some room').emit('some event'):
运行效果

运行效果

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].