_An MVC application for Eau Claire's Salon. Styling is based on Patrick Nagel's art and influence on the 1980's fashion and salon culture. This application will allow the salon owner to keep track of stylists and clients. Each stylists will have a unique set of clients that match their speciality. _
| Behavior | Input | Output |
|---|---|---|
| Application will display a home page in which the user may choose to view or create a new Stylist or Add Client to an existing stylist | Home | "New Stylist", "View Stylists", "Add Client" |
| Application will suggest to redirect to Home Page if no Stylists have been added | Click: "View Stylists" | "No stylists have been added yet" Link: Return Home |
| Application will allow user to select view Stylists and recieve a list of Stylists | Click: "View Stylists" | "Stylists:" "Stylist1", "Stylist2", OR "Add New Stylist" |
| When user clicks "Add Stylist", they are directed to a for to add new stylist | Click: "Add Stylist" | "Add A New Stylist" Name: "Input Name" |
| When a User adds a new Stylist Name they are directed back to the Stylists Index page | Name: "Input Name", Click: Submit | Stylists: "Haru" |
| When user clicks "Add Client" they will be directed to a client form | Click: "Add new Client | "Add New Client:" Name: "Input Name" |
| In "Add New Client", User will need to assign Client to a Stylist | Click Stylist Dropdown: "Name" / Click: " "Add New Client" | "Clients" Client: "Name" / Stylist: "Name" |
In your computer's terminal:
- Navigate to where you want this application to be saved, i.e.:
cd desktop- Clone the file from GitHub with HTTPS
git clone https://github.com/kalepadot/HairSalon.Solution.git- Enter into the new file directory
cd HairSalon.Solutions- Enter the program file
cd HairSalon/- Restore
dotnet restore- Build
dotnet build- Start the program
dotnet run- Open in your browser by clicking
http://localhost:5000- MySQL:
CREATE DATABASE `jeremy_padot`;
USE `jeremy_padot`;- Create Table:
CREATE TABLE `clients` (
`ClientId` int(11) NOT NULL AUTO_INCREMENT,
`Name` varchar(45) DEFAULT NULL,
`StylistId` int(11) DEFAULT '0',
PRIMARY KEY (`ClientId`));- Create Table:
CREATE TABLE `stylists` (
`StylistId` int(11) NOT NULL AUTO_INCREMENT,
`Name` varchar(45) DEFAULT NULL,
PRIMARY KEY (`StylistId`));No known bugs at this time.
Have a bug or an issue with this application? Open a new issue here on GitHub.
- C#
- .NET 2.2
- Terminal
- Git
- VS Code
- Macbook Pro
- MVC 2.2
- Mr. Squiggles
- MYSQLWorkBench 8.0.15
- MYSQL
- ASP.NET Core
- Entity Framework Core
Copyright (c) 2020 Jeremy Kale Padot
