Skip to content

mh-saeed/client_frontEndOfChatApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Secure Online Chat App - (SOCA)

Give a 🌟, if you like the app

UI

Install SOCA locally in your pc

Prerequisite

Node.js must be installed in your PC, to install nodejs visit.

After installing nodejs, follow the below instructions ⬇️.

Create an empty folder, name chat-app. clone both, client-side and server-side in the chat-app folder. now open client-side repository folder with terminal, and run the below command:

npm install

and then, open server-side repository folder with terminal, and run the below command:

 npm install

Now, open the chat-app folder in your code editor and in client folder open chat component(Path: src/components/Chat/Chat.js). and comment out line:14 and uncomment line:15

code

then, open the server folder and open index.js and then at line:15 change the origins to http://localhost:3000/

code2

Now you can start the app 🙂.

Start app

First we have to start our server. open server folder in your terminal and run:

 npm start

then open client folder in your terminal and run:

 npm start

now our application must be running on http://localhost:3000/, go and test the app 😃.

THE END