Code Monkey home page Code Monkey logo

chat's Introduction

Chat:聊天室

跟着 视频 做的一个基于 Node.js 的简单的聊天室应用。

用户界面

用户界面使用 Bootstrap 5 提供的组件和样式,配合传统的三大件:HTML、CSS 和 JS 搭建。主要使用到了 Bootstrap 的表单 (form) 和卡片 (card) 组件。

服务端

服务端主要运用以下组件:

  • 使用 Socket.IO 实现客户端(浏览器)和服务端(Node.js)之间的通信。Socket.IO 所提供的功能基于 WebSocket 网络传输协议。
  • 使用 Express 作为 Web 服务器,将用户界面作为服务提供给客户端。Express 是一个运行在 Node.js 上的简单快速的 Web 应用框架。
  • 使用 nodemon 实现代码的热加载。

chat's People

Contributors

yuchenkh avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.