Building a Phoenix API
Luiz Varela

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
  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.