A simple TODO app built with Play, Swagger and ReactiveMongo
You need
- MongoDB Installed and running on your machine. Tutorial here
- SBT (mandatory if you don't want to use an IDE)
- IntelliJ to import the project (optional)
- SBT plugin (optional)
Tho ways to run the project:
- Import the project, run SBT and type
run
to launch the server. - cd into the project directory, run SBT and type
run
to launch the server or typesbt run
.
Then open your favourite browser and go to
localhost:9000/api-docs
From the beautiful Swagger-UI interface you can perform all the CRUD operations you want
In the tests directory there are tests written with the ScalaTest library.
To launch them just type test
in a running SBT session or simply type sbt test
Enjoy.
Author: Riccardo Sirigu