Your Project Name

This is a Laravel project that for Scnip Test 2024

Getting Started

These instructions will guide you on how to clone and run the project on your local machine.

Prerequisites

Make sure you have the following installed on your system:

Installing

  1. Clone the repository:

    git clone https://github.com/Davematics/ScnipTest.git``
    
  2. Product Routes

     GET /api/product
    
  3. To view products sorted by sales per view:

    GET /api/product?sort_by=sales_per_view
    
  4. To view products sorted by price:

GET /api/product?sort_by=price