https://github.com/calvinlfer/play-framework-dynamodb-example
A simplistic Play Framework application providing a REST API for the persons. It makes use of Google Guice injection along with DynamoDB through the use of Scanamo.
https://github.com/calvinlfer/play-framework-dynamodb-example
dynamodb play-framework playframework scala
Last synced: 10 months ago
JSON representation
A simplistic Play Framework application providing a REST API for the persons. It makes use of Google Guice injection along with DynamoDB through the use of Scanamo.
- Host: GitHub
- URL: https://github.com/calvinlfer/play-framework-dynamodb-example
- Owner: calvinlfer
- License: other
- Created: 2016-08-27T19:02:34.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-18T19:26:27.000Z (over 9 years ago)
- Last Synced: 2025-04-21T12:41:23.053Z (10 months ago)
- Topics: dynamodb, play-framework, playframework, scala
- Language: Scala
- Size: 82.4 MB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Example REST API with Play Framework and DynamoDB
================================================
This example is used to demonstrate a sample Play Framework application
that has to integrate with DynamoDB and provide a REST API for the
`persons` resource. This application has tests (Unit and Integration)
and attempts to follow a functional style along with following good
practices such as bulk-heading and using tools to enforce style and
coverage.
[](https://travis-ci.org/calvinlfer/Play-Framework-example)
[](https://codecov.io/gh/calvinlfer/Play-Framework-example)
More Information
================
- See [ScalaJsonCombinators](https://www.playframework.com/documentation/2.5.x/ScalaJsonCombinators) which cover using validation helpers
- More specifically [Validation with Reads](https://www.playframework.com/documentation/2.5.x/ScalaJsonCombinators#Validation-with-Reads)
- The SBT DynamoDB plugin only works on Unix based operating systems
- In order to run code coverage reports, then use `sbt clean coverage test`
followed by `sbt coverageReport` to avoid interference with Local DynamoDB.
The overview is present in `target/scoverage-report/index.html`