Skip to content

webintensive/pubnub-react

Repository files navigation

pubnub-react

A chat application written in React using PubNub API

Getting Started

Clone this repo.

npm scripts

Install the npm packages using:

$ npm install

Dev

$ npm run dev

This runs a development mode server with live reload etc.

Open http://localhost:8080 in your browser.

Production

$ npm run build
$ npm start

This runs a production-ready express server that serves up a bundled and minified version of the client.

Open http://localhost:8080 in your browser.

Tests

Single Run

$ npm run test

Watch Files

$ npm run test:watch

Coverage

$ npm run cover

Connecting to remote APIs

Both the devmode and production servers provide a way to proxy requests to remote HTTP APIs. This can be useful for working around CORS issues when developing your software.

Edit this file to mount such APIs at a given path.

License

Copyright (c) 2016 rangle.io

MIT License

About

PubNub's React Based Chat Application

Resources

License

Stars

Watchers

Forks

Packages

No packages published