A hiring test
![DETAILS](https://github.com/CodeChari/ihntest/raw/master/INDIAN%20HOSPITALITY%20NETWORK%20-%20PHP%20TEST%20(1).pdf?raw=true)
1. 1-calculator : solution for task 1 , contains question 1(simple calculator using plain JS)
2. 2-3-company-contact-movie-api : contains solution for task 2 and 3 as well(crud-ajax as well as api-movie-search task).
Requirements: An OS with the AMP-Stack and a web-browser installed.
For task-1 , simply go to 1-calculator
folder and open index.html
with any browser.
For task-2 and 3, import ihntest.sql
to your database.
change database credentials in 2-3-company-contact-movie-api/config/db.php
Run composer install
in project directory (not mandatory)
go to http://yourserverip/2-3-company-contact-movie-api/web/index.php
(considering folder is directly placed to your roor directory)
For task 2 and 3 codigniter is not used(as mentioned) , mostly core-php , JQuery and Yii2(Another framework) is used.
![img](https://github.com/CodeChari/ihntest/raw/master/img/5.png?raw=true)
php version used: 7.3.XX
mysql version used : 8.XX