Skip to content

hehehenri/zap

Repository files navigation

Zap

Zap is a chat application built to explore Relay and GraphQL, aiming to understand their strengths and weaknesses. With inspiration from popular messaging platforms like Telegram and WhatsApp, Zap provides a simple yet effective chat experience.

Preview

preview.mp4

Installation

  1. Clone the repository:

    git clone https://github.com/hnrbs/zap.git
  2. Navigate to the project directory:

    cd zap
  3. Install dependencies for both web and server:

    yarn install
  4. Setup the environment variables:

    cp apps/server/.env.example apps/server/.env &&
    cp apps/web/.env.example apps/web/.env

Usage

To start the application, run the following commands:

  1. Run the Docker containers.

    docker-comopse up -d
  2. Run apps in develpment mode.

    yarn dev

Then, navigate to http://localhost:3000 in your web browser to access the application.

License

Distributed under the MIT License. See LICENSE for more information.