Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 expectations

Assuming 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