Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Artprize Voting App

Demo for GRDevDay 2015

See the accompanying slides here.

Step through the commits to follow the project as we derive a multi process voting server from a simple function with an accumulator to hold votes.

When you're through with this, you may be interested in checking out the more full-featured Phoenix version of this application. It utilizes GenServer to run the actual Vote server under the app's supervision.

To start the console to play with the demo:

  1. Navigate to the project directory
  2. Run iex -S mix
  3. Start the server process with: {:ok, pid} = ArtprizeVote.start_server
  4. Send your votes to the server process: send pid, {self, :add_vote, {16, 69, {-85.6, 43}}}, etc...
  5. Check the messages the server sends back to the main process by running flush

About

A sample Elixir app with Grand Rapids flair

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.