This is an example of how to create a scalable chat application using NestJS, designed to handle millions of users.
This project is based on the article "How to Scale a Chat App to Millions of Users in NestJS".
- Real-time messaging using WebSocket (WS) connections
- Scalable architecture for handling high user loads
- Clone the repository:
https://github.com/zenstok/nestjs-scalable-chat-app-example
- Copy env:
cp sample.env .env
- Start containers:
yarn dc up
- Initiate database:
yarn dc-db-init
(once)
If you want to clean the project, run command: yarn dc-clean
Contributions are welcome! If you encounter any issues or have suggestions for improvement, please open an issue or submit a pull request.
This project is licensed under the MIT License.
- Author - zenstok
- Twitter - @zenstok
- Blog - https://rabbitbyte.club
- Email - [email protected]