Skip to content

vedantyadu/chat-frontend

Repository files navigation

ChatApp

A group chat app built using the MERN stack and Socket.io.

This repository contains the frontend for ChatApp created using React.

Screenshots

Home

Getting started

Installing dependencies

npm install

Changing backend URLs

Socket server

Change the socket server URL in /src/socket/socket.jsx in the following format :

export const socket = io('<YOUR_SOCKET_SERVER_URL>', {withCredentials: true, autoConnect: false})

Backend server

Change the backend server URL in /src/utils/axiosconfig.js in the following format :

export function configureAxios() {
  axios.defaults.baseURL = '<YOUR_BACKEND_SERVER_URL>'
  axios.defaults.withCredentials = true
}

Starting development server

npm run dev

Building

npm run build

About

A group chat app built using the MERN stack and Socket.io.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published