This is an MVC web application to help Claire (Pierre's friend) manage her employees (stylists) and their clients.
- C#
- MySQL
- MySQL Workbench
- .NET 5 SDK
- Git BASH
- ASP .NET CORE MVC
-
Download or clone the https://github.com/bordonj/epicodus-EauClairesSalon.Solution to your local machine
-
Open terminal and navigate to the EauClairesSalon.Solution of the directory
-
Run "dotnet restore" in the the
HairSalon
directory to install dependencies$ dotnet restore
-
Create your own version of the database by importing the
jennifer_bordon.sql
file from the repo with MySQL Workbench. -
Create an appsettings.json file in the
HairSalon
directory add the following code to the file:
{
"ConnectionStrings":
{
"DefaultConnection": "Server=localhost;Port=3306;database={first_last};uid={YOUR_USERNAME_NAME};pwd={YOUR_PASSWORD};"
}
}
Be sure to replace {first_last}
{YOUR_USERNAME_NAME}
and {YOUR_PASSWORD}
with the appropriate terms.
-
for
{first_last}
, this refers to the database or schema- make sure to replace this input with what you decide to name the schema/database
-
for
{YOUR_USERNAME_NAME}
and{YOUR_PASSWORD}
, this refers to your username and password for MySQL -
NOTE: Do not include the curly brackets in your code snippet of appsettings.json
- In order to see the website in the browser, make sure you've navigated to the
HairSalon
diretory
- run the code
$ dotnet run
- View the website by entering
localhost:5000/
in the url of your browser/client
No known bugs at this time. But if any found, please contact me so I can fix them.
MIT
Copyright (c) 2021 Jennifer Bordon