Skip to content

golang appliction, websocket chat with react js+ts

License

Notifications You must be signed in to change notification settings

militska/gochat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4bcc598 · Oct 27, 2020

History

10 Commits
Oct 27, 2020
Oct 21, 2020
Oct 27, 2020
Oct 17, 2020
Oct 17, 2020
Oct 26, 2020
Oct 21, 2020

Repository files navigation

Лайт версия чата с вебсокетами.

Чат, пока что без запси в редис, но возможность записи протещщена.

broadcast, с веб интерфейсом на реакте.

Запуск

  1. запускаем docker-compose up -d

  2. docker-compose run app go run ./

  3. берем ип ишник, выведенный в консоли, и вписываем его в front/src/App.tsx

  4. `cd front && npm start ``

Доработки

Компиляция jsx : tsc --jsx react --esModuleInterop --lib "ES2016","DOM" ./front/src/Simple.tsx

  • Начать писать в рэдис\мб попробывать другое хранилище
  • Сделать менее криво
  • Чат-комнаты