Building a Phoenix API
Luiz Varela
9412

Hi! Good tutorial. Thanks.

But there are some typos in seed.exs:

  1. Market phone is string, so needs quotation marks
  2. Line 45 should be Decimal.new(10)
  3. Before execute ‘mix run …’ Is required to reference products on Market model => has_many :products, MarketApi.Product
Show your support

Clapping shows how much you appreciated Gleidisdon Duarte’s story.