Skip to content

kalepadot/HairSalon.Solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

Hair Salon

A C# MVC Application, friday code review. March 20, 2020

Description

_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. _

Landing Page Preview

Behavior Driven Project Specifications

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"

Setup/Installation Requirements

In your computer's terminal:

  1. Navigate to where you want this application to be saved, i.e.:
cd desktop
  1. Clone the file from GitHub with HTTPS
git clone https://github.com/kalepadot/HairSalon.Solution.git
  1. Enter into the new file directory
cd HairSalon.Solutions
  1. Enter the program file
cd HairSalon/
  1. Restore
dotnet restore
  1. Build
dotnet build
  1. Start the program
dotnet run
  1. Open in your browser by clicking
http://localhost:5000
  1. MySQL:
CREATE DATABASE `jeremy_padot`;
USE `jeremy_padot`;
  1. 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`));
  1. Create Table:
 CREATE TABLE `stylists` (
  `StylistId` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`StylistId`));

Known Bugs

No known bugs at this time.

Support and contact details

Have a bug or an issue with this application? Open a new issue here on GitHub.

Technologies Used

  • 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

License

MIT

Copyright (c) 2020 Jeremy Kale Padot

About

C# MVC

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors