Installation Guide
- Clone the repository
- Install the dependencies by running
composer install
. If you don't have composer installed, you can download it here. Although, there aren't any dependencies required to run the application, some likesymfony/var-dumper
were used during debugging and development. - Run the application by running
php -S localhost:8000 -t public
in the root directory of the project.
Tasks
Javascript
- The library to perform simple dom related tasks is at
public/js/library.js
file. - 3 concurrent post requests are at
public/js/post-requests.js
file. - The clipboard functionality is at
public/js/clipboard.js
file. - Two-way binding is at
public/js/two-way-binding.js
file.- You can view the two-way binding in action by going to
http://localhost:8000/
.
- You can view the two-way binding in action by going to
PHP
- The conversion for XML to JSON is at
app/Services/GeoInfoService.php
file. - The price filtering and addition is at
app/Services/PriceCalculationService.php
file. - The database connectivity is at
app/Services/DatabaseService.php
file. - The post request API is at
app/Controllers/PagesController.php
file. - The routes for the application are at
routes.php
file. - The views for the application are at
views
directory.