/chat-app

A messaging application with multi-person and multi-channel support

Primary LanguageTypeScript

Chat App

Features

  1. The application is built using TypeScript
  2. React for displaying UI components
  3. Tailwind CSS for styling
  4. Apollo Client for GraphQL
  5. Jest for unit testing

Setup

Create .env file that includes the following variable

VITE_BACKEND_API_URL # GraphQL API Endpoint

Installation

Clone the repository and run the following command:

git clone https://github.com/sonjoydatta/chat-app.git

Go to the directory and run the following command:

cd chat-app && yarn

For start the application in development mode, run the following command: (application will be available at http://localhost:5173)

yarn dev

For start the application in production mode, run the following command: (application will be available at http://localhost:4173)

yarn build && yarn preview

To run the unit tests, run the following command:

yarn test

Languages & tools