Skip to content

yusufsefasezer/ysChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ysChat

Web chat application developed with Express.js, Socket.IO and ReactJS, Bulma.

How to Use

Make sure you have Node.js installed.

git clone https://github.com/yusufsefasezer/ysChat.git
cd ysChat

Server

cd server
npm install

If you want to use it on your local network, you must change the ip address in the server/bin/www file. Find the line below and change it.

origin: 'http://YOUR-LOCAL-IP:3000'

Now you can start the server.

npm start

Your app should now be running on YOUR-LOCAL-IP:1234.

Client

cd client
npm install

Same as the server, if you want to use it on your local network, you must change the ip address in the client/src/Socket.js file. Find the line below and change it.

const SOCKET_URL = 'YOUR-LOCAL-IP:1234';

Now you can start the client.

npm start

Your app should now be running on YOUR-LOCAL-IP:3000.

Screenshot

user

License

This project is licensed under the MIT License. See the LICENSE file for details

Created by Yusuf Sezer