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
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