/ROC

react online chat with WebRTC [Node back-end ] on Heroku Demo:

Primary LanguageJavaScriptMIT LicenseMIT

create-react-app with a Node server on Heroku

Demo

Demo deployment: example API call from the React UI is

For Local Development

Run the API Server

In a terminal:

# Initial setup
npm install

# Start the server
npm start

Run the React UI

The React app is configured to proxy backend requests to the local Node server. (See "proxy" config)

In a separate terminal from the API server, start the UI:

# Always change directory, first
cd react-ui/

# Initial setup
npm install

# Start the server
npm start