Frontend server for Chatroom server
This is a server to host the frontend of Colyseus Chatroom that renders a xterm terminal and connects clients to the chatroom web server.
The server for this codebase is hosted at https://frontend-server.onrender.com
Usage
Case 1 : For connecting to web server of chatroom at https://colyseus-server.onrender.com
Step 1 :Clone this repo using
git clone https://github.com/yash25198/frontend-server.git
and use
cd frontend-server
yarn --version
command doesnot return a version number.
Step 2 :Install yarn using the following command if npm install --global yarn
Step 3 :Run yarn to install all necessary modules
yarn
Step 4 :Run the server on local host using
node server.js
Case 2 : For connecting to local web server of chatroom at https:localhost:3000
Step 1 :Clone this repo using
git clone https://github.com/yash25198/frontend-server.git
and use
cd frontend-server
Step 2 :Switch to dev branch using
git checkout dev
yarn --version
command doesnot return a version number.
Step 3 :Install yarn using the following command if npm install --global yarn
Step 4 :Run yarn to install all necessary modules
yarn
Step 5 :Run the server on local host using
node server.js