プロジェクト
GitHubで見る
vincent144/react-native-socket-io-example
概要
モバイルチャットルームの実装例
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル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.
$ npm install
To start the server:
$ npm run server
In a separate terminal tab, start the client app.
$ 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.
$ 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
関連プロジェクトを探す
読み込み中…