GithubHelp home page GithubHelp logo

deeheber / book-inventory Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 25 KB

This is an application that tracks and stores information about books using PHP and a SQL database.

CSS 4.76% PHP 95.24%

book-inventory's Introduction

Book inventory app

Note this repo is archived and won't be receiving updates, so code might be out of date with current conventions. Keeping this around as a reminder of how far I've come.

Summary

This is a minimal PHP application that tracks and stores information about books in a SQLite database.

Features

  • Read and display all books in the database
  • Create a new book
  • Delete a book
  • Update a book

Directions to run locally

  1. clone the repo
  2. install MAMP
  3. move project directory to /Applications/MAMP/htdocs/
  4. open MAMP from /Applications/MAMP/MAMP.app
  5. click on start servers
  6. navigate to localhost:8888 in a web browser

Note: You will also need to set up your local SQLite database. See official docs here. Unless you change my code, you'll need to name the database test and create a books table in that db.

Note: Users on Windows or Linux can ignore the above MAMP directions and download XAMPP instead. Not sure of the specific setup, but they probably have good docs?

Want to use a MySQL db instead?

  • Take a look at the code on this branch.
  • A local MySQL db instance will run through MAMP if you're on a Mac.

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.