Skip to content

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".

Notifications You must be signed in to change notification settings

zenstok/nestjs-scalable-chat-app-example

Repository files navigation

Scalable Chat App in NestJS

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".

Features

  • Real-time messaging using WebSocket (WS) connections
  • Scalable architecture for handling high user loads

Installation

  1. Clone the repository: https://github.com/zenstok/nestjs-scalable-chat-app-example
  2. Copy env: cp sample.env .env
  3. Start containers: yarn dc up
  4. Initiate database: yarn dc-db-init (once)

If you want to clean the project, run command: yarn dc-clean

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvement, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Stay in touch

About

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".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published