Skip to content
プロジェクト

概要

💬 🐕 ‎ very chat. such messages. so talking. wow. React/Redux, TypeScript, Socket.io chat app.

仕事効率化・自動化

この数値の測り方

計測したスター増加

24時間
0
7日間
+1
15日間
+1
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Chat App

A chat application using React, Redux Toolkit, Socket.io, and Tailwind CSS.

Setup

Install dependencies

Install the dependencies for the client and server.

# in one terminal window
cd server && npm i
# in another terminal window
cd client && npm i

Start server

An Express server is maintaining a Socket.io connection, persisting data short-term in memory, and exposes an API for accessing persistent data.

# in /server
npm start

Server is running on localhost:5000.

Start client

A React server with Redux for the front end.

# in /client
npm start

Client dev server is running on localhost:3000.

You can view the app at localhost:3000. Log in with any valid email and username, and you'll enter into the chatroom, which will display all users (noting which are currently online) and all messages.

Production build

Run npm run build on client and server to compile to JavaScript.

Todos

  • Duplicate users should be checked and not allowed
  • Add user is typing
  • Allow tagging
  • Add settings
  • Add error handling
  • Add tests
    • Jest Unit tests
    • React Testing Library component tests
    • Cypress end-to-end tests
  • Add ESLint
  • Add Docker support

関連プロジェクトを探す

読み込み中…