Skip to content

Instantly share code, notes, and snippets.

@sean-nicholas
Last active March 24, 2018 12:17
Show Gist options
  • Select an option

  • Save sean-nicholas/2b4d8366b8040b3206b47f52bcaf33fc to your computer and use it in GitHub Desktop.

Select an option

Save sean-nicholas/2b4d8366b8040b3206b47f52bcaf33fc to your computer and use it in GitHub Desktop.
feathers-reactive with Angular Universal - init
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