Skip to content

Various implementations of a straw poll application to test buildpacks

License

Notifications You must be signed in to change notification settings

deftinc/strawpoll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project Title

Various implementations of a straw poll application to test buildpacks.

Design

Straw poll implements a simple data model that allows any visitor to create a poll.

A poll consists of:

  • An author email adress to send results
  • A UTC starting datetime after which point voting is permitted. Defaults to now.
  • A UTC ending datetime after which voting is disabled. Defaults to 24 hours from now.
  • One or more poll options

A poll option consists of:

  • 80-characters of text
  • A positive integer number of votes for that options

Design Docs

Data Model

Strawpoll Data Model

Contributing

Anyone is free to build and PR a reference implementation or update an implemenation via a PR.

Environment Setup

In any given subdirectory

./scripts/bootstrap
./scripts/setup

Build the image

In any given subdirectory

./scripts/build

Running the Tests

In any given subdirectory

./scripts/test

Run the Server

In any given subdirectory

./scripts/test

Run the REPL

In any given subdirectory

./scripts/console

Contributors

[Patrick Wiseman](mailto: [email protected])

License

MIT License

About

Various implementations of a straw poll application to test buildpacks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published