Skip to content

Latest commit

 

History

History
37 lines (16 loc) · 993 Bytes

readme.md

File metadata and controls

37 lines (16 loc) · 993 Bytes

ITV HOME PAGE DEMO

This app show case a demo of itv hub home page. The app is built using PHP and Laravel framework.

The content comes from the rest api which is then processed by a middle layer and then passed to the front-end.

Install PHP 7 and laravel before accessing the app.

sudo apt-get install php7.0

Easiest way to install laravel is by using composer. If you don't have composer, follow the instructions from the following link. https://getcomposer.org/doc/00-intro.md

Then run the following to install laravel.

composer global require "laravel/installer"

Then download or clone the repo, go to the root folder of the app and run

composer update --no-scripts 
composer update
php artisan serve

This will start the local server on http://localhost:8000 and when you access the url, you could see the homepage of itv.

Running tests

Run the following command on the root folder of the app

phpunit