Skip to content

ibarraz5/advanced-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to build and run the application, commands:

Important! Build the application first. Then execute run commands.

Build the application:

check for local open port

run cmd prompt as admin
 netstat -ab
 if port says LISTENING, it is an open port to use
 current port is 5040, change it to an open port if application is not running because port is busy

open terminal

cd Advanced Project/server/
run commands:
        npm init -y
        npm install ws
        npm install express
        nodemon install
        //Application is running here, but close the terminal command line with:
        ctrl+C

Run the application:

cd Advanced Project/server/

nodemon index.js

//after running server the client can connect by:

go to http://localhost:5040/ on your webrowser

//REFRESH PAGE IN BROWSER

you can also open an incognito webrowser window and open http link there so you can connect as a different user

//IF PORT ERROR, check open ports for your computer and change the port number in the code from 5040 to another port

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published