This web app is designed to work for a library. The app can be used as a librarian or patron. Librarians are able to add books, add copies of that book to the libraries catalog, see where those copies are, update book info, and delete copies. Patrons can see their checkouts, checkout books, and return books.
One incomplete component is the handling of due-dates. Dates are currently hard coded to always be due 2-14-2016. This functionality maybe built out in the future.
In terminal run the following commands to setup the database:
apachectl start
mysql.server start
mysql -uroot -proot
- Fork and clone this repository from gitHub.
- Navigate to the root directory of the project in which ever CLI shell you are using and run the command: composer install.
- Create a local server in the /web directory within the project folder using the command: php -S localhost:8000 (assuming you are using a mac).
- Open the directory http://localhost:8000 in any standard web browser.
- Open http://localhost:8080/phpmyadmin and import ../library.sql.zip.
There are no known bugs at this time. This app is not fully developed at this point and some functionality is either missing or not clear.
If you have any questions, concerns, or feedback, please contact the author through gitHub.
This web application was created using the Silex micro-framework_, as well _Twig, a template engine for php, and mySQL.
MIT License.
Copyright (c) 2016 Joseph Karasek and Mary Warrington