Skip to content

Create rooms, chat with groups, connect directly with users, and experience real-time messaging like Simple, fast, and interactive!

Notifications You must be signed in to change notification settings

Suryakantdsa/Roomify-Ohatapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roomify

Roomify is a real-time chat application designed for seamless communication using WebSockets. It allows users to create rooms, chat within rooms, and send direct messages to other users. This project is built using a Turborepo for monorepo management and utilizes pnpm as the package manager.

Project Structure

The project consists of the following packages:

  • ws-backend: WebSocket server for real-time messaging.
  • http-backend: HTTP server for REST API services.
  • react-frontend: React-based frontend for the chat application.

Prerequisites

Ensure you have the following installed on your system:

Getting Started

Clone the Repository

git clone https://github.com/your-repo/roomify.git
cd roomify
  1. Navigate to the backend folder:
cd backend

Backend Setup

  1. Install all dependencies using pnpm:
pnpm install
  1. Start all applications simultaneously::
pnpm run dev

This command runs all the apps in parallel using Turborepo.

Individual Applications

WebSocket Backend (apps/ws-backend)

  1. Navigate to the WebSocket backend folder:

    cd apps/ws-backend
  2. Install dependencies:

    pnpm install
  3. Start the WebSocket server:

    pnpm run dev

HTTP Backend (apps/http-backend)

  1. Navigate to the HTTP backend folder:

    cd apps/http-backend
  2. Install dependencies:

    pnpm install
  3. Start the HTTP server:

    pnpm run dev

React Frontend (apps/react-frontend)

  1. Navigate to the React frontend folder:

    cd apps/react-frontend
  2. Install dependencies:

    pnpm install
  3. Start the React development server:

    pnpm run dev

Next.js Frontend (apps/nextjs)

  1. Navigate to the Next.js frontend folder:

    cd apps/nextjs
  2. Install dependencies:

    pnpm install
  3. Start the Next.js development server:

    pnpm run dev

Features

  • Room Management: Create, join, and manage chat rooms.
  • Direct Messaging: Send messages directly to other users.
  • Real-Time Communication: Powered by WebSockets for instant updates.
  • Scalability: Modular structure managed with Turborepo.

Scripts

  • pnpm dev: Run all development servers.
  • pnpm build: Build all applications.
  • pnpm lint: Lint all applications.

Contributing

We welcome contributions! If you find a bug or have a feature request, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

About

Create rooms, chat with groups, connect directly with users, and experience real-time messaging like Simple, fast, and interactive!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •