This app allows a hair salon to be able to manage their sylists and clients.
Behavior | Input Example | Output Example |
---|---|---|
add stylist | form name, phone | Samantha, 829-2839 |
add client to sylist | form name, phone, stylist | Betty 892-2343, Samantha |
update stylist | Samantha, 829-2839 | Samantha Brown, 800-7737 |
update client | Betty 892-2343, Samantha | Betty 323-9890, Liz |
delete stylist | Samantha Brown, 800-7737 | empty |
delete client | Betty 323-9890, Liz | empty |
email: jensenseanc@gmail.com
currently when a stylist is deleted the clients are not moved anywhere, make sure to update client stylist before a stylist is deleted.
- Open github https://github.com/seacamjen/hair-salon
- Clone the repository
- In PSQL: CREATE DATABASE hair_salon, \c hair_salon
- CREATE TABLE stylists (id serial PRIMARY KEY, name varchar, phone varchar);
- CREATE TABLE clients (id serial PRIMARY KEY, name varchar, phone varchar, stylist_id int);
- Run the command 'gradle run'
- Open browser and go to localhost:4567
Copyright (c) 2017 Cameron Jensen
This software is licensed under the MIT license.