A dynamic web application built with native PHP to fetch book data from the OpenLibrary API and present it in a user-friendly format. This application offers features such as book pagination, search functionality by author name, and the ability to save fetched book data as JSON files.
The OpenLibrary PHP Website provides a seamless experience for users to explore books by their favorite authors without the need for complex authentication processes or database management. By leveraging the simplicity of native PHP and the OpenLibrary API, this application eliminates unnecessary overhead, making it lightweight and efficient.
- No Database: By excluding database management, the application reduces complexity and overhead, allowing for faster development and deployment.
- No User Authentication: Without user authentication steps, users can immediately access and interact with the application, enhancing user experience and fostering trust.
- Ease of Use: With a clean and intuitive interface, users can quickly search for books by author name and navigate through paginated results without encountering unnecessary barriers.
- Trustworthiness: By focusing on providing accurate book data from a reputable source like OpenLibrary, the application builds trust with users, ensuring a positive experience.
Before you begin, ensure you have met the following requirements:
- You have a basic understanding of PHP.
- You have PHP installed on your local machine.
- You have access to the OpenLibrary API.
- Clone the repository to your local machine:
git clone https://github.com/shgnplaatjies/OpenLibrary.git
- Start a PHP server:
php -S localhost:8000
- Open your web browser and visit http://localhost:8000 to view the website.
- Enter an author's name in the provided input field.
- Optionally, specify entry limit and offset.
- Click the "Search" button to fetch and display books by the author.
- Use pagination to navigate through multiple pages of books.
Developed by Shagan Plaatjies.
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to customize and use this project according to your needs. If you encounter any issues or have suggestions for improvement, please open an issue or submit a pull request on GitHub.