Skip to content

annarbecker/hair-salon-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hair Salon

Web app for a hair salon to assign clients to stylists using Java and Postgres | February 26, 2016

Authors

Description

An app for a hair salon. The owner can add to a list of stylists, and for each stylist, add clients who see that stylist. The stylists work independently, so each client only belongs to a single stylist.

Setup/Installation Requirements

Clone this repository.

$ cd ~/Desktop
$ git clone https://github.com/annarbecker/hair-salon-java.git
$ cd hair-salon-java

Open terminal and run Postgres:

$ postgres

Open a new tab in terminal and create the hair_salon database:

$ psql

In psql run:

# CREATE DATABASE hair_salon;

In terminal run:

$ psql hair_salon < hair_salon.sql

Switch to psql and run:

# \c hair_salon
# \dt

This will list all of the tables in the hair_salon database

Navigate back to the directory where this repository has been cloned and run gradle:

$ gradle run

Open your web browser of choice to localhost:4567

Make sure you have Java and Gradle installed.

  • For Java:
  • For Gradle: if you are using Homebrew on Mac:
    • $ brew update
    • $ brew install gradle

Technologies Used

Java, Spark, Junit, Velocity, Fluentlenium, Bootstrap, Postgres

License

This software is licensed under the MIT license.

Copyright (c) 2016 Anna Becker

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.

About

Web app for a hair salon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors