Server for chat app
How to use:
- download
- open a terminal at the location where you downloaded it
- type this into the terminal:
npm i -y - build the program with:
npm run build - to run type:
node .
How to develop:
- make the changes to the typescript script
- open 2 terminals
- write this in one of them:
npm run develop - now everytime you save the script compiles then in the other terminal you can run it with:
node .
You need to run node . as sudo if you are using linux if you dont the websocket server will not work