Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thomasweiser/stampfire
Demo of elmfire-extra
https://github.com/thomasweiser/stampfire
Last synced: 25 days ago
JSON representation
Demo of elmfire-extra
- Host: GitHub
- URL: https://github.com/thomasweiser/stampfire
- Owner: ThomasWeiser
- Created: 2015-11-17T12:37:00.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-23T19:52:25.000Z (almost 9 years ago)
- Last Synced: 2024-05-09T13:37:36.737Z (6 months ago)
- Language: Elm
- Homepage:
- Size: 132 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demonstration of Firebase interfacing with Elm packages [elmfire](http://package.elm-lang.org/packages/ThomasWeiser/elmfire/latest)([-extra](http://package.elm-lang.org/packages/ThomasWeiser/elmfire-extra/latest/))
## [Run demo](http://thomasweiser.github.io/stampfire/)
## Background
[ElmFire](http://package.elm-lang.org/packages/ThomasWeiser/elmfire/latest/) ([source code](https://github.com/ThomasWeiser/elmfire)) is an [Elm](http://elm-lang.org/) library that provides the raw [Firebase JavaScript](https://www.firebase.com/docs/web/) functionality to Elm apps. On top of that [elmfire-extra](http://package.elm-lang.org/packages/ThomasWeiser/elmfire-extra/latest/) ([source code](https://github.com/ThomasWeiser/elmfire-extra)) makes it easy to treat Firebase data like a local Elm [dictionary](http://package.elm-lang.org/packages/elm-lang/core/latest/Dict) with corresponding operations on it.
## Cooperative drawing demo
This demo is an extension of the Elm example [Stamps](http://elm-lang.org/examples/stamps) by adding Firebase syncing of the current state. This way multiple users can work with a shared data model.
Other deviations from the original demo are that the stamps a drawn on mouse movement without the need to click and that the stamps a removed automatically after some time.