Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

react-native-socket-io-example

> 前端框架
Open source

A demo for implementing a mobile chatroom

386 stars0 likes3 views
WebsiteGitHub

About

A demo for implementing a mobile chatroom

React Native Socket.io Example

A demo for implementing a mobile chatroom as well as practice for myself using React Native and Socket.io. I talked more about this in my Medium article

Getting started

First, install React Native, Socket.io and other node modules.

bash
$ npm install

To start the server:

bash
$ npm run server

In a separate terminal tab, start the client app.

bash
$ npm run ios

To mock a conversation, I allowed the server to participate. The process that is running the server is listening for stdin. In other words, you can type in the server and it will appear in the chatroom.

bash
$ npm run server
> [nodemon] 1.11.0
> [nodemon] to restart at any time, enter `rs`
> [nodemon] watching: *.*
> [nodemon] starting `node server`
> listening on *:3000
> Hello, this is the server speaking. How may I assist?

Demo

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScriptchat-roomdemomobilereact-native

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架