Skip to content

pasviegas/firekka

Repository files navigation

firekka

ultimate firebase -> akka integration :O

object Main extends App {

  //this actor logs events (Added, Removed, Changed) and the corresponding values
  //change to what ever FirebaseActor you implement
  val logger = FirebaseActorCreator(FirebaseLogActor.props)

  val config = ConfigFactory.load()
    .withFallback(Firekka.config("https://my-firebase.firebaseio.com/"))

  Firekka.system("my-system", config)
    .attachRoot("users", logger)
    .attachRoot("posts", logger)

}

Enjoy! :)

About

ultimate firebase -> akka integration :O

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages