Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bfirsh/funker-example-voting-app
An example app using Funker
https://github.com/bfirsh/funker-example-voting-app
Last synced: 2 months ago
JSON representation
An example app using Funker
- Host: GitHub
- URL: https://github.com/bfirsh/funker-example-voting-app
- Owner: bfirsh
- License: apache-2.0
- Created: 2016-11-29T11:51:29.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-29T11:51:39.000Z (about 8 years ago)
- Last Synced: 2024-10-09T10:20:46.768Z (2 months ago)
- Language: JavaScript
- Size: 54.7 KB
- Stars: 25
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-docker - Funker - Functions as Docker containers example voting app. By [@bfirsh](https://github.com/bfirsh) (Development with Docker / Serverless)
- awesome-docker - Funker - Functions as Docker containers example voting app. By [@bfirsh](https://github.com/bfirsh) (Development with Docker / Serverless)
README
# Funker example app
This is an example app using [Funker](https://github.com/bfirsh/funker). It is very similar to [Docker's example voting app](https://github.com/docker/example-voting-app), except instead of using a message queue and worker, it calls a Funker function to process votes in the background.
The Funker function being used is in `process-vote/handler.js`, and it is called from `vote/app.py`.
## Getting started
Download [Docker for Mac or Windows](https://www.docker.com).
Run in this directory:
$ docker-compose up
The app will be running at [http://localhost:5000](http://localhost:5000), and the results will be at [http://localhost:5001](http://localhost:5001).