This project is a chat application that utilizes MongoDB, NestJS, React, Socket.io, Kafka, and Redpanda for real-time messaging and event streaming.
https://jam.dev/c/b7e64df9-f5a7-4644-83b5-f5fdf8bb5257
- Docker
- Docker Compose
- Clone the repository.
- Navigate to the project directory.
- Navigate to the
docker/dev
directory - Run the following command to start the application:
docker-compose up -d
- Navigate to the
chat-app-be
directory - Copy
.env.example
to.env.development
- Set
MONGO_URI
intolocalhost/chat-app
- Set
KAFKA_BROKERS
intolocalhost:9092
- Run
yarn start:dev
- Navigate to the
chat-app-fe
directory - Copy
.env.example
to.env
- Run
yarn dev
- Open through browser with address
localhost:5173
- Clone the repository.
- Navigate to the project directory.
- Navigate to the
chat-app-be
directory - Copy
.env.example
to.env.production
- Set
MONGO_URI
intomongodb/chat-app
- Set
KAFKA_BROKERS
intoredpanda:9092
- Navigate to the
chat-app-fe
directory - Copy
.env.example
to.env
- Navigate to the
docker
directory - Run the following command to start the application:
docker-compose up -d
- Open through browser with address
localhost