Code Monkey home page Code Monkey logo

epicodus-php-library's Introduction

Library App

Last PHP and SQL in-class exercise for Epicodus PHP, 3.3.2016

By Joseph Karasek and Mary Warrington

Description

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.

Setup/Installation Requirements

Setup of databases

In terminal run the following commands to setup the database:

apachectl start
mysql.server start
mysql -uroot -proot
  1. Fork and clone this repository from gitHub.
  2. Navigate to the root directory of the project in which ever CLI shell you are using and run the command: composer install.
  3. 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).
  4. Open the directory http://localhost:8000 in any standard web browser.
  5. Open http://localhost:8080/phpmyadmin and import ../library.sql.zip.

Known Bugs

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.

Support and contact details

If you have any questions, concerns, or feedback, please contact the author through gitHub.

Technologies Used

This web application was created using the Silex micro-framework_, as well _Twig, a template engine for php, and mySQL.

License

MIT License.

Copyright (c) 2016 Joseph Karasek and Mary Warrington

epicodus-php-library's People

Contributors

marywarrington avatar joekarasek avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.