Basic program to process XML of books and display the books and authors in a page using PHP for a test.
The XML stored within the project directory is first sorted by the genre of the books and the subdirectories are divided by the first letter of the book's name.
eg; Book Name = 'Another One Bites The Cookie' directory would be: books->fiction->A->list.xml
PHP: 8.2
Postgres: 14.1
As this test project was developed within Docker, to get a local copy you may set up Docker by following the link: https://docs.docker.com/get-docker/
- Clone the repo
git clone https://github.com/faizfrhn/bookstore.git
- Build the Docker containers
docker-compose build
- Get the containers up and running
docker-compose up
- Navigate to localhost on your web browser to test
