Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 679 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 679 Bytes

Grocery

This is an example application to use with Gigalixir.

Grocery is a simplified Elixir Phoenix project utilizing Quantum for scheduling tasks.

In this application the Quantum schedule is defined in the /config/config.exs file. The Grocery.Restocker#fruit/1 function is scheduled to increment the orange count by 1 every 5 minutes, and the apple count by 1 every minute.

The default route / displays the current fruit counts.