Visit here to have a look at this website.
- The website is developed in VS Code.
- Download and install a code/text editor.
- Download Node Js and npm(Node package manager) (npm gets installed by default on downloading Node)
- Clone the repository by running the command:
git clone https://github.com/namanrox/chat.git
in your GitBash or terminal of VS Code.
- Run the command
cd FE
- Run
npm install
to install all the dependencies. - Run
npm start
to start it on localhost:3000. - Now you are set to use it locally.
- But in order to make it your own, change all the dependencies to your name.
- Run the command
cd BE
- Run
npm install cors express socket.io
to install all the required dependencies. - Go to package.json file and add the script
"start": "nodemon index.js"
inside scripts. - Run
npm start
to start the backend server. - Check for
App started at port {provider}
to know whether the port is connected properly or not with the front-end. - Now you are set to use it locally.