Skip to content

A simple app for parsing large XML products feed.

Notifications You must be signed in to change notification settings

ksungcaya/products-feed

Repository files navigation

Products Feed

A simple app made with Laravel Framework that parses an XML products feed from an external source with minimum CPU and memory consumptions.

Features

  • 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

Installation

  1. Clone the Products Feed repository.

    git clone https://github.com/ksungcaya/products-feed.git products-feed
  2. Navigate through the folder.

    cd products-feed
  3. Rename the .env.example file to .env

  4. Please make sure to have composer installed on your machine and do a composer install inside the directory.

  5. Generate an app key.

    php artisan key:generate
  6. Finally, run php artisan serve and navigate through the url that will be shown after running the command.

Tests

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. :)

Todo list

  • Add Docker Image

License

The Laravel framework is open-sourced software licensed under the MIT license

About

A simple app for parsing large XML products feed.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages