kent1026 / chattium

💬 A simple chat app powered by service worker and web socket

Home Page:https://derektwliu-chattium.now.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chattium

Chattium is a tiny chatroom PWA powered by socket.io and create-react-app

Run Locally

git clone https://github.com/liuderchi/chattium.git
cd chattium
// start server
yarn && yarn run start:watch
// open another terminal, start client
cd client; yarn && yarn run watch

Develop in Docker Container

  1. Clone and run the container with ssh service
$ git clone https://github.com/liuderchi/chattium.git && cd chattium
$ docker run --rm -d \
  -p 22:22 -p 3000:3000 -p 3001:3001 \
  -v $PWD:/root/chattium \
  liuderchi/chattium-ubuntu16-node10-ssh:latest
  1. Connect to the ssh server (password: root)
$ ssh -o UserKnownHostsFile=/dev/null root@localhost

Deploy with Now CLI

cd client && \
  yarun build && \
  rm build/static/js/*.map
cd ../ && now

About

💬 A simple chat app powered by service worker and web socket

https://derektwliu-chattium.now.sh/

License:MIT License


Languages

Language:JavaScript 80.3%Language:HTML 10.8%Language:CSS 8.9%