Check out our new series - Moving to Elixir

×

#29: Moving to Elixir Part 5

We have a working interface, but now we need to make sure our inventory stays up-to-date. To do that we’ll fetch a CSV and use its content to update our inventory. We’ll write the file locally, parse its contents, and update our inventory with the data it contains. Then we’ll create a custom Mix Task that we can run to import our inventory.