Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thuongtruong1009/chatter

💬 Chat realtime with others
https://github.com/thuongtruong1009/chatter

chat expressjs mongodb nodejs reactjs realtime socket zustand

Last synced: 28 days ago
JSON representation

💬 Chat realtime with others

Awesome Lists containing this project

README

        

🗨️ Chatter

### 🚀 [Live Demo](https://chatter-40vx.onrender.com/)

![Preview](/public/preview.png)

### 🔨 Tech stack

- 🌟 Tech stack: Node(Express) + Socket.io + React + TailwindCSS + Daisy UI
- 🎃 Authentication && Authorization with JWT
- 👾 Real-time messaging with Socket.io
- 🚀 Online user status (Socket.io and React Context)
- 👌 Global state management with Zustand
- 🐞 Error handling both on the server and on the client
- ⭐ Custom hooks for handling forms and authentication
- ⏳ Loading state for async operations
- 🚀 Deploy on production

### 👩‍💻 Run the app locally

1. Clone the repository

```shell
git clone https://github.com/thuongtruong1009/chatter.git
```

2. Install dependencies

```shell
npm install
```

3. Create a `.env` file in the root directory and add the following environment variables:

```js
cp.env.example.env;
```

4. Start the app

```shell
npm run dev
```

### Build the app

```shell
npm run build
```

### Start the app

```shell
npm start
```