Skip to content

Instantly share code, notes, and snippets.

View pixelogik's full-sized avatar
:electron:
Hustlin'

Ole pixelogik

:electron:
Hustlin'
  • Berlin
View GitHub Profile
@edofic
edofic / MongoDb.scala
Created June 10, 2013 21:28
reactive mongo without play
package models
import com.typesafe.config.ConfigFactory
import reactivemongo.api.{DefaultDB, DB, MongoDriver}
import akka.event.slf4j.Logger
import reactivemongo.api.collections.default.BSONCollection
import scala.util.Try
object MongoDb {
private val logger = Logger("MongoDB")