React Chat App: Built on #React | #SocketIO | #CosmicJS #cloud #cms #api #javascript…

  • This is an example of a basic real time chat app using React, Socket.io and Cosmic JS.
  • This example consists of the following: – – The following dev tools are used: – – Run the following commands to install the app: – – Run the following command to run the app in production: – – View the app running in production at http://localhost:3000 – – Run the…

cosmicapp-react-chat – A basic real time chat app using React, Socket.io and Cosmic JS

We recommend upgrading to the latest Safari, Google Chrome, or Firefox.

The vote is over, but the fight for net neutrality isn’t. Show your support for a free and open internet.

GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.

This is an example of a basic real time chat app using React, Socket.io and Cosmic JS. This example consists of the following:

The following dev tools are used:

Run the following commands to install the app:

Run the following command to run the app in production:

View the app running in production at http://localhost:3000

Run the following commands to run the app in development with hot reloading:

and in another terminal tab run:

View the app running in development at http://localhost:8080

// config.js export default { bucket: { slug: ‘your-bucket-slug’, type_slug: ‘messages’ }, server: { host: process.env.APP_URL || ‘http://localhost:3000’ } }

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

GitHub