Skip to content

smahjoub/play-mongo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reactivemongo for Play 2.8 Example

This is a Play CRUD Example using reactiveMongo driver. It demontrates:

  • MongoDb Connection using reactiveMongoDb in Play
  • BSONReader and BSONWriter Implementation
  • CRUD using different data type

This example use the following:

  • Play Framework 2.8.0
  • Reactive Scala Driver for MongoDB 0.20.13-play28
  • Scala 2.13.3
  • Mongodb

How to run

Setup a local mongo server using docker:

mkdir ~/data
docker run --name local-mongodb -d -p 27017:27017 -v ~/data:/data/db mongo

Test and run the application:

sbt test
sbt run

About

A small reactivemongo for play example.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages