Skip to content

bdspen/hair_salon

Repository files navigation

Hair Salon Helper

An application that allows a salon owner to make a list of their stylists and clients
09/11/2015

By Ben Spenard

Description

A user can add a hair stylist and also add clients to each hair stylist.

Setup

  • clone the repository onto your desktop from this link https://github.com/bdspen/hair_salon.git
  • from the command line cd into the hair_salon folder on your desktop and run the command $ composer install
  • If you have MAMP or a similar setup, run your servers and go to localhost:XXXX/phpmyadmin where XXXX is the port of your server
  • import the zipped database in the hair_salon folder
  • run your localhost server to view the site.

Technologies Used

PHP, TWIG, SILEX and MYSQL were all used to create this project.

Legal

Copyright (c) 2015 Ben Spenard

This software is licensed under the MIT license.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

my sql commands:

mysql> CREATE DATABASE hair_salon;

mysql> CREATE DATABASE hair_salon_test

mysql> USE hair_salon

mysql> CREATE TABLE stylist (stylist_name VARCHAR (255), id INT AUTO_INCREMENT, PRIMARY KEY (id));

mysql> create table client (client_name VARCHAR (255), id INT AUTO_INCREMENT, PRIMARY KEY (id));

mysql> use hair_salon_test;

mysql> CREATE TABLE stylist_test (stylist_name VARCHAR (255), id INT AUTO_INCREMENT, PRIMARY KEY (id));

mysql> create table client_test (client_name VARCHAR (255), id INT AUTO_INCREMENT, PRIMARY KEY (id));

mysql> use hair_salon

mysql> alter table client add stylist_id INT;

mysql> use hair_salon_test

mysql> alter table client add stylist_id INT;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published