Giter Site home page Giter Site logo

assessment4's Introduction

Shoe Store Database

(Assessment 4)

by Evan Butler

Date: April 1, 2015

Description

This app helps users make a database for shoe stores and the brands they carry.

  1. The user can add/edit/delete a Store in the database, and assign specific Brands to that Store.
  2. The user can add a Brand to the database, and assign specific Stores to that Brand.

Setup instructions

  1. Clone this git repository
  2. Set your localhost root folder to ~/assessment4/web/
  3. Ensure PHP server is running.
  4. Start Postgres and import shoes.sql database into a new database shoes
  5. Do the same for the test database: shoes_test.sql
  6. Use Composer to install required dependencies in the composer.json file
  7. Start the web app by pointing your browser to the root (http://localhost:8000/)

PSQL commands

CREATE DATABASE shoes; \c shoes; CREATE TABLE stores (id serial PRIMARY KEY, storename varchar); CREATE TABLE brands (id serial PRIMARY KEY, brandname varchar); CREATE TABLE brands_stores (id serial PRIMARY KEY, store_id int, brand_id int); CREATE DATABASE shoes_test WITH TEMPLATE shoes;

Copyright © 2015, Evan Butler, Inc.

License: MIT

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.