requirements:
- node.js,
- peerjs,
- socket.io,
- ejs
language i use to buid:
- html
- css
- js
steps to start api:
-
step1: "open command line in your source code downloaded folder"
-
step2: npm install -"use this command to install all dependence"
-
step3: "open two terminal or command line"
-
step4: nodemon index.js "or" npm run devSart -"type this in first terminal to start local server"
-
step5: peerjs --port 3001 -"to start peerjs server in your local enviroment":
-
step6: "open Browser and type" localhost:3000