This app allows users to add and view stores and the brands they carry (and vice versa). Users can update the store name and delete a single store. They can also delete all brands.
Clone the repository. Run the command $composer install in the top level of the cloned directory. Open a PHP server in the web folder of the top level. For a mac, run the following command in your terminal:
php -S localhost:8000. Then open your web browser of choice to localhost:8000.
Start mysql server and adjust ports/root directory. Start Apache server. Open PHPmyAdmin and import the database file.
HTML CSS PHP PHPUnit Silex Twig MySql Bootstrap
Copyright (c) 2015 Jenna Navratil
This software is licensed under the MIT license.
SELECT DATABASE(); CREATE DATABASE shoe_stores; USE shoe_stores; CREATE TABLE store(store_name VARCHAR(255), id serial PRIMARY KEY); CREATE TABLE brand(brand_name VARCHAR(255), id serial PRIMARY KEY); CREATE TABLE stores_brands(store_id int, brand_id int, id serial PRIMARY KEY);