Tagged: MongoDB

Testing with Specs2 and Play ReactiveMongo

Are you building a Scala PlayFramework application with ReactiveMongo? Are you testing your application with Specs2? Are some of your tests failing with the dreaded, “Can’t get ClosableLazy value after it has been closed”? Do those same tests pass, if they are run individually? If so, this post is for you! Note: A full stack trace for the dreaded ClosableLazy can be found in the Appendix of this post. In...

Create a REST API with Node.js, Express, and MongoDB

Creating a REST API with Node.js is simple, fast, and efficient. Node.js is lightweight, non-blocking, and perfect for data intensive applications. Node.js, although young, has a strong community backing. The Node.js community provides a vast array of modules that can be leveraged to simplify the implementation process. Node.js also has support for many widely used offerings. In this post, we will use MongoDB with Node.js. We will also use two...