Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/foxfirecodes/websocket-chat
A tiny live chat app using Svelte & socket.io
https://github.com/foxfirecodes/websocket-chat
Last synced: 5 days ago
JSON representation
A tiny live chat app using Svelte & socket.io
- Host: GitHub
- URL: https://github.com/foxfirecodes/websocket-chat
- Owner: foxfirecodes
- Created: 2021-09-10T00:50:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-03T05:45:10.000Z (over 1 year ago)
- Last Synced: 2024-12-25T05:21:18.588Z (12 days ago)
- Language: JavaScript
- Size: 113 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# websocket-chat
> A tiny live chat app using Svelte & socket.io
## Development
This app assumes a few things:
- port 3001 is available
- redis is available and running on the default port (6379)
- if you don't have redis installed but you do have docker, you can run `docker run --rm -it -p 6379:6379 redis` to spin up redis quickly
- you don't have high expectationsAssuming all of the above requirements are met, you can set this project app with the following commands:
```bash
# if you dont have pnpm already, install it
npm install -g pnpm@6# clone the repo
git clone [email protected]:rayzr522/websocket-chat.git
cd websocket-chat# install dependencies
pnpm install# run the dev server
pnpm dev# alternatively, make a production build
pnpm build
pnpm start
```You can now access the chat app at http://localhost:3001