A simple app made with Laravel Framework that parses an XML products feed from an external source with minimum CPU and memory consumptions.
- A form that accepts a valid feed url
- URL validation
- Can process large XML files
- Products feed pagination (load more...)
- User friendly error messages
- Single product modal view
-
Clone the Products Feed repository.
git clone https://github.com/ksungcaya/products-feed.git products-feed
-
Navigate through the folder.
cd products-feed
-
Rename the
.env.example
file to.env
-
Please make sure to have composer installed on your machine and do a
composer install
inside the directory. -
Generate an app key.
php artisan key:generate
-
Finally, run
php artisan serve
and navigate through the url that will be shown after running the command.
If you want to run the tests, it's very easy. From your terminal, navigate through the app's root directory and run
vendor/bin/phpunit
and let's hope it passes all the tests. :)
- Add Docker Image
The Laravel framework is open-sourced software licensed under the MIT license