Building a Phoenix API
Luiz Varela
8611
Hi! Good tutorial. Thanks.
But there are some typos in seed.exs:
- Market phone is string, so needs quotation marks
- Line 45 should be Decimal.new(10)
- Before execute ‘mix run …’ Is required to reference products on Market model => has_many :products, MarketApi.Product