A tiny live chat app using Svelte & socket.io
This app assumes a few things:
docker run --rm -it -p 6379:6379 redis
to spin up redis quicklyAssuming all of the above requirements are met, you can set this project app with the following commands:
# 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