A fully-featured Giter8 template for building restful API with Play Framework in Scala and MongoDB! Further details can be found in the quick start, which is located within the project seed.
sbt new bigaru/play-rest-seed.g8
- flexible and compile-time dependency injection thanks to MacWire
- ReactiveMongo is a non-blocking driver for MongoDB
- Swagger spec are generated based on comments in routes files by iHeartRadio swagger plugin, in order to avoid code pollution (like java annotations)
- opinionated generic DAO implementation
- first install g8
- then run following commands:
git clone git@github.com:bigaru/play-rest-seed.g8.git
g8 file://play-rest-seed.g8/ --name=my-seed-test --force
Written in 2019 by bigaru
To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this template to the public domain worldwide. This template is distributed without any warranty. See http://creativecommons.org/publicdomain/zero/1.0/.