Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Viktor-V/basic-php-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Please, complete following tasks:

  1. Set up DB using provided mysql dump file. You may use provided docker-compose.yml if you like. But docker knowledge is not required.
  2. Create a script to generate a JSON file, containing a nested items_categories data. Only ID and name fields are required in export.
  3. Create a script to generate an Excel file, containing items_categories data. Only ID and name fields are required in export. Data hierarchy should be visualized.

    There is install.php script present, which was used to generate test-data. This script somewhat represents current state of codebase (sql.php is actually a part of a current system).

Run

docker-compose exec lap-stack php /var/www/html/export.php

Files will be created on the app/export folder

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages