Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

backend-task

Task:

  • Create backend application API for business domain.
  • Create your repo (preferably on Github) for backend-dev-task solution and share it us.
  • Requirements:

  • Use Laravel 11
  • Use OOP
  • Follow best practices SOLID, Clean code etc.
  • Data storage solution is up to you. DB, filesystem, cache, memory...
  • Cover code by tests. If you need use e.g. PHPUnit. There is no need to cover all code, just create a couple to show the principle
  • Optional requirements for which additional points will be awarded for:

  • Using DDD (Domain-Driven Design) together with Laravel
  • Business logic:

    Online shop has product sets and products. One product can only exist within one set. Product set is published if at least one product inside the set is published. Set cannot contain 0 products. Only non-confidential data is returned for public API. Restricted API endpoints must be secured by API key.

    Product set consists from:

  • id
  • name - maximum length of 60
  • slug - made from name by default
  • collection of products
  • Product consists from:

  • id
  • sku code
  • name - maximum length of 40
  • slug - made from name by default
  • type - device or service
  • condition - new, used, refurbished
  • description title
  • description text
  • price
  • wholesalePrice - confidential
  • published - true, false
  • Functionality

  • [Public] Find product set - returns non-confidential data for active sets
  • [Restricted] Create product set
  • [Restricted] Update product set
  • [Restricted] Create product
  • [Restricted] Update product
  • [Restricted] Delete product
  • About

    No description, website, or topics provided.

    Resources

    Stars

    0 stars

    Watchers

    0 watching

    Forks

    Releases

    Packages

    Contributors