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

https://github.com/bamof25th/mern-chat-app

Real Time Chat App | MERN && Socket.io && JWT
https://github.com/bamof25th/mern-chat-app

chat-app daisyui express-js mern-stack reactjs socketio-chat

Last synced: 16 days ago
JSON representation

Real Time Chat App | MERN && Socket.io && JWT

Awesome Lists containing this project

README

        

# MERN Stack Project: Real Time Chat App

Some Features:

- Tech stack: MERN + Socket.io + 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

### Setup .env file

```js
PORT=...
MONGO_DB_URI=...
JWT_SECRET=...
NODE_ENV=...
```

### Build the app

```shell
npm run build
```

### Start the app

```shell
npm start
```