An open API service indexing awesome lists of open source software.

https://github.com/billstclair/elm-dynamodb-defunct

An Elm interface to Amazon DynamoDB
https://github.com/billstclair/elm-dynamodb-defunct

Last synced: about 1 year ago
JSON representation

An Elm interface to Amazon DynamoDB

Awesome Lists containing this project

README

          

# billstclair/elm-dynamodb

Elm Interface to [Amazon DynamoDB](https://aws.amazon.com/dynamodb/).

You can run your code against a pure Elm simulator during development, and then change the initial value of the "database" parameter to switch to the real Amazon backend.

[examples/src/simulated.elm](https://github.com/billstclair/elm-dynamodb/blob/master/examples/src/simulated.elm) is an example application that uses the simulator. See the REAME in [examples/](https://github.com/billstclair/elm-dynamodb/blob/master/examples/) for instructions on running it in `elm-reactor`. It is live at [kakuro-dojo.com/simulated.html](https://kakuro-dojo.com/simulated.html).

[examples/src/real.elm](https://github.com/billstclair/elm-dynamodb/blob/master/examples/src/real.elm) is an example application that uses the real backend.

Both are tiny wrappers around [examples/src/SharedUI.elm](https://github.com/billstclair/elm-dynamodb/blob/master/examples/src/SharedUI.elm).

The library itself is in [src/DynamoBackend.elm](https://github.com/billstclair/elm-dynamodb/blob/master/src/DynamoBackend.elm).

It takes some configuration to make the real backend ports work on your own site with your own DynamoDB table. The process of creating the backend table on Amazon's web site is documented in [Configuring Amazon DynamoDB for DynamoBackend](https://github.com/billstclair/elm-dynamodb/blob/master/amazon-setup.md). Hooking the Elm port JavaScript into your code is documented in [Using the DynamoBackend JavaScript](https://github.com/billstclair/elm-dynamodb/blob/master/port-setup.md).

Bill St. Clair <billstclair@gmail.com>

13 November 2016