Skip to content

guiguiabloc/wine-cellar-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wine Cellar Application (PHP Version)

The Wine Cellar application is documented here.

This application provides an example of:

  1. Building a complete RESTful API in PHP using the Slim framework.
  2. Consuming these services using jQuery

Set Up:

  1. Create a MySQL database name "cellar".

  2. Execute cellar.sql to create and populate the "wine" table:

    mysql cellar -uroot < cellar.sql

  3. Deploy the webapp included in this repository.

  4. Open api/index.php. In the getConnection() function at the bottom of the page, make sure the connection parameters match your database configuration.

  5. Open main.js and make sure the rootURL variable matches your deployment configuration.

  6. Access the application in your browser. For example: http://localhost/cellar.

Fork by Guiguiabloc

  • add EAN, Quantity entry
  • modify search API
  • add Python API to work with Tasker
  • add Tasker files

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 91.2%
  • Python 4.4%
  • JavaScript 2.7%
  • Other 1.7%