/server-push-hooks

🔥 React hooks for Socket.io, SSE, WebSockets and more to come

Primary LanguageJavaScriptMIT LicenseMIT

Build Status

React hooks for handling server-push technologies:

Running samples

To run samples locally, you can:

$ git clone https://github.com/mfrachet/server-push-hooks
$ cd server-push-hooks
$ npm install # install lerna and dependencies at the root
$ npm run bootstrap # install lerna packages dependencies
$ npm run build # build the lerna packages
$ npm start # start the web application
$ npm start:test-server # start the backend services in another terminal
$ npm run e2e # run E2E tests of the projects in another terminal