- The application is built using TypeScript
- React for displaying UI components
- Tailwind CSS for styling
- Apollo Client for GraphQL
- Jest for unit testing
Create .env
file that includes the following variable
VITE_BACKEND_API_URL # GraphQL API Endpoint
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