Homework

Make a dark_mart api where a user can interact with dark mart products.

  1. Your api will only have a product model.
  2. A product should have
    • name
    • price
    • img_url
  3. A user should be able to
    • get all products
    • get a specific product
    • add a product
    • edit a product
    • destroy a product
  4. Use at least one private method
  5. Use at least one validation

results matching ""

    No results matching ""