This REST API in PHP is created by following the tutorial given below:
https://www.codeofaninja.com/2017/02/create-simple-rest-api-in-php.html
Technology used: PHP, Mysql
Database for the project is contained in database.json
$ git clone https://github.com/mohini-tripathi/REST-API-PHP
$ cd REST-API-PHP
$ git branch new-branch
$ git checkout new-branch
Install any required dependencies.
I've defined methods to create, delete and update products.