A fully featured CRUD app built with Play 2.6, Swagger and ReactiveMongo
Scala Other
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
app Removed deprecated code Mar 4, 2018
conf Changed db name Oct 29, 2017
docs Logo Oct 15, 2017
project Revert play dep Dec 14, 2017
public First commit Aug 10, 2017
test Removed deprecated code Mar 4, 2018
.gitignore First commit Aug 10, 2017
.travis.yml Removed build for scala 2.11.11 Mar 4, 2018
LICENSE First commit Aug 10, 2017
README.md Typos Jan 15, 2018
build.sbt Merge branch 'master' of https://github.com/ricsirigu/play26-swagger-… Mar 4, 2018
sbt First commit Aug 10, 2017
sbt.bat First commit Aug 10, 2017

README.md

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