Last active
March 24, 2018 12:17
-
-
Save sean-nicholas/2b4d8366b8040b3206b47f52bcaf33fc to your computer and use it in GitHub Desktop.
feathers-reactive with Angular Universal - init
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import feathers from '@feathersjs/feathers' | |
| import * as io from 'socket.io-client' | |
| import socketio from '@feathersjs/socketio-client' | |
| import * as rx from 'feathers-reactive' | |
| const app = feathers() | |
| const socket = io(BASE_URL) | |
| app | |
| .configure(socketio(socket)) | |
| .configure(rx({ idField: '_id' })) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment