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
- Host: GitHub
- URL: https://github.com/billstclair/elm-dynamodb-defunct
- Owner: billstclair
- License: mit
- Created: 2016-10-28T22:03:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-01T07:13:58.000Z (over 8 years ago)
- Last Synced: 2025-04-06T23:48:27.095Z (about 1 year ago)
- Language: Elm
- Homepage:
- Size: 167 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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