Skip to content

heb1k0/IT-socketChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IT_CHAT

Technology

Installation

The project requires Node.js, and mongodb to work.

Install the dependencies and devDependencies and fix the server. Create an .env file in the root directory with the following code and fill in the configuration fields

clone https://github.com/heb1k0/it-chat/
cd it-chat/

CLIENT:

cd client
npm i

SERVER:

cd server
npm i

Start

Do you want to start the project?

Inside the client and server folder, you will find an .env file that you must modify to start your project.

SERVER:

cd server

OPEN .env_template

PORT=3002

// URL CLIENT
CLIENT=http://localhost:3000

//MONGODB
MONGODB_URI=mongodb://localhost:27017/chatSocket

Modify the file if necessary and save it with the name .env

CLIENT:

cd client

OPEN .env_template

// URL API SOCKET 
REACT_APP_URL= "http://127.0.0.1:3002"

Modify the file if necessary and save it with the name .env

RUN SERVER:

cd server
npm run start

RUN CLIENT:

cd client
npm run start

VIEW DEMO

DEMOO CHAT socketchat.es

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published