All Projects → taniarascia → chat

taniarascia / chat

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

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].