This is chat web app built using next.js(reactjs) and express.js which is using socket.io as a dependency. Backend code is here.
Live project is here.
-
Clone this repository and open terminal in the root of the project.
-
npm install
will install all the dependencies. -
create a
.env.local
file in the root of the project and paste the below line in it.NEXT_PUBLIC_BACKEND_BASE=http://localhost:1337
-
Here
http://localhost:1337
is the address to the backend server running locally. Here is the backend project repository. -
npm run dev
would run the dev server.
You can contribute by using the issues tab or pull requests.