/play26-swagger-reactivemongo

A fully featured CRUD app built with Play 2.6, Swagger and ReactiveMongo

Primary LanguageScalaOtherNOASSERTION

logo
Play Framework 2.6.x with Swagger and ReactiveMongo

A simple TODO app built with Play, Swagger and ReactiveMongo

travis build

How to run the app

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

How to run the tests

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