Skip to content
An example of batching for operations with Elixir and Broadway
Elixir
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config Renamed to mystex_pizza Oct 16, 2019
lib Renamed to mystex_pizza Oct 16, 2019
priv/repo Renamed to mystex_pizza Oct 16, 2019
test Renamed to mystex_pizza Oct 16, 2019
.formatter.exs Initial commit Sep 27, 2019
.gitignore Renamed to mystex_pizza Oct 16, 2019
LICENSE Initial commit Sep 27, 2019
README.md Renamed to mystex_pizza Oct 16, 2019
mix.exs Renamed to mystex_pizza Oct 16, 2019
mix.lock Initial commit Sep 27, 2019

README.md

MystexPizza on Broadway

Welcome to Mystex Pizza!

Getting Started

To run the demo, first clone this repository:

git clone https://github.com/mcrumm/mystex_pizza_on_broadway
cd mystex_pizza_on_broadway

install dependencies:

mix deps.get

and setup the database:

mix ecto.setup

Then you can run the demo:

mix run --no-halt

Note: You will occasionally see errors in the output. We're generating fake data, after all, and the Order IDs occasionally overlap.

Check the number of customers created:

mix pizza.customers

Check the number of orders created:

mix pizza.orders

Finally, you can clean up your database:

mix ecto.drop
You can’t perform that action at this time.