Manage salon Stylists and Clients, add/view/update/delete Clients and Stylists, add/view/update/delete Clients for a particular Stylist
- visit https://github.com/jacobhixon47/hair-salon .
- clone into repository
- navigate into the project folder in the terminal
- run $bundle install in the terminal
- run $ruby app.rb in the terminal
- navigate to "localhost:4567" in your web browser
- run each of these in psql to setup local database
- 'CREATE DATABASE hair_salon;' .
- '\c hair_salon;' .
- 'CREATE TABLE clients (id serial PRIMARY KEY, first_name varchar, last_name varchar, stylist_id int);' .
- 'CREATE TABLE stylists (id serial PRIMARY KEY, name varchar);' .
- Returns the name of a stylist
- Example input: Trena
- Expected output: Trena
- Returns the names of a Client
- Example input: (first name)Joe (last name)Barrish
- Expected output: Joe Barrish
- Displays all of these results and options to the user
- HTML
- CSS
- Bootstrap
- Ruby
- Sinatra
- Postgres
- SQL
MIT
Copyright (c) 2016 Jacob Hixon