Skip to content

40a/serverless-docker-voting-app

 
 

Repository files navigation

Serverless Docker Example Voting App

This is a serverless app built with Docker. Read more in the Serverless Docker repository.

Architecture

It consists of a simple entrypoint server that listens for HTTP requests. All of the other functionality of the app is run on-demand as Docker containers for each HTTP request:

  • vote: The voting web app, as a CGI container that serves a single HTTP request.
  • record-vote-task: A container which processes a vote in the background, run by the vote app.
  • result: The result web app, as a CGI container.

Running

Run in this directory:

$ make

The app will be running at http://localhost/vote/ and http://localhost/result/

About

A serverless web app built with Docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 57.4%
  • Java 14.6%
  • JavaScript 9.1%
  • Python 8.2%
  • Go 6.2%
  • Other 3.7%
  • Makefile 0.8%