Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keyur-gondaliya/scalable-chat
High Scalable Chat App for Distributed Architecture with Redis and Kafka.
https://github.com/keyur-gondaliya/scalable-chat
Last synced: 4 days ago
JSON representation
High Scalable Chat App for Distributed Architecture with Redis and Kafka.
- Host: GitHub
- URL: https://github.com/keyur-gondaliya/scalable-chat
- Owner: Keyur-Gondaliya
- Created: 2024-03-21T19:27:32.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-03T19:15:36.000Z (7 months ago)
- Last Synced: 2024-05-03T20:49:41.421Z (7 months ago)
- Language: TypeScript
- Homepage: https://www.canva.com/design/DAGBHIekt_k/sa1K85pjR173NxU_uYdQSQ/edit?utm_content=DAGBHIekt_k&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton
- Size: 268 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Scalable Chat App
This architecture for distributed system chat app while possible using redis and million message per second thruput via kafka for maximizing capacity of PostgreSQL with prisma.
## Installation
Clone the repository:
git clone https://github.com/Keyur-Gondaliya/PromptHub.git
### Start Prisma and PostgreSQL
Ensure your PostgreSQL database is running and configure Prisma accordingly. Then, start Prisma using:
npx prisma migrate dev### Start Redis Server
Make sure Redis is installed and running on your system. Then, start the Redis server.
### Start Kafka
Start Kafka server using:
kafka-server-start.sh### Set up environment variables:
Create a .env file in server and client and fill variables as per .env.example.
### Build
To build all apps and packages, run the following command:
```
cd Scalable-Chat
npm run build
```### Develop
To develop all apps and packages, run the following command:
```
cd Scalable-Chat
npm run dev
```## Contributing
Contributions to PromptHub are welcome!
## License
This project is licensed under the MIT License. See the LICENSE file for details.