Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codingitwrong/websocket-echo-expo
https://github.com/codingitwrong/websocket-echo-expo
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/codingitwrong/websocket-echo-expo
- Owner: CodingItWrong
- Created: 2021-08-21T19:11:51.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-31T15:41:04.000Z (about 1 month ago)
- Last Synced: 2024-12-31T16:28:18.477Z (30 days ago)
- Language: TypeScript
- Homepage:
- Size: 190 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# websocket-echo-expo
A simple WebSocket client using Expo and React Native, for Android, iOS, and Web.
Because some abstractions over WebSocket only work in the browser, compatibility with this tool demonstrates that a given WebSocket backend is standards-compliant and works in React Native too.
## Requirements
- [pnpm](https://yarnpkg.com/en/docs/install)
- [Expo CLI](https://facebook.github.io/react-native/docs/getting-started)
- A [websocket-echo backend](https://github.com/CodingItWrong?tab=repositories&q=websocket-echo&type=&language=&sort=)## Installation
```bash
$ pnpm install
```## Running
```bash
$ pnpm start
```Then choose any of:
- Run on Android device/emulator
- Run on iOS simulator
- Run in web browser (React Native for Web)