Skip to content

24-Kitchen-Street/24KS-Front

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

24KS Front End

  • yarn start - starts local app, connects to heroku server
  • yarn dev - starts local app, connects to local server (you must start this locally, on the other repo)

Local env vars

You'll need to create an .env.local file with in the root of the project with some variables such as the socket URI and the stream URL. Example file:

REACT_APP_SOCKET_URI=https://club
REACT_APP_STREAM_URL=https://mystreamURL.something
REACT_APP_CAM_CHANGE_RATE=blahala

Admin

Add ?admin=1 to the URL to bring up admin controls. When no environment var is set, password defaults to "dev".

FPS and latency

Add ?debug=1 to show FPS and latency in the corner

Testing errors

  • When sending a chat message, you can send "test-error-1" to emulate a server error

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages