Bifrost is a distributed chat application allowing real-time communication between users. It uses WebSocket for real-time messaging and Redis for message queuing.
Before you begin, ensure you have the following installed:
- Node.js (version 16 or above)
- Docker
- Docker Compose
- Clone the repository
git clone https://github.com/yourusername/bifrost.git cd bifrost
- Install the dependencies
npm install
Create a .env
file in the root directory with the following content (update values as needed):
`DB_URI=
SECRET=
REDIS_URL=
To run the project in development mode with live reloading:
- Start the development environment:
docker-compose up
- Access the application:
The application is accessible at
http://localhost:80
through the Nginx load balancer.