/HairSalon.Solution

Week 10 Epicodus Independent Project

Primary LanguageC#

Hair Salon

By: Kim Brannian

A web application for a salon owner to track clients and stylists.

Technologies Used

  • C#
  • .NET
  • ASP.NET Core MVC
  • Razor
  • NuGet
  • git
  • GitHub
  • Entity Framework Core
  • Pomelo
  • MySql

Description

A website to track stylists and their clients.

System Requirements

  • Download and install .NET5
  • Download and install MySql and connect to your local server
  • A text editor, such as VS Code

Setup/Installation Requirements

  • Navigate to https://github.com/kimberkay/HairSalon.Solution

  • Click on the green "Code" button and copy the repository URL or click on the copy button

  • Open the terminal on your desktop

  • Once in the terminal, use it to navigate to your desktop folder

  • Once inside your desktop folder, use the command git clone https://github.com/kimberkay/ HairSalon.Solution.git

  • After cloning the project, navigate into it using the command `cd HairSalon.Solution

  • Create a .gitignore file in the root directory and add:

    */obj/ */bin/ */appsettings.json

  • Create an appsettings.json file in the root directory and add:

    { "ConnectionStrings": { "DefaultConnection": "Server=localhost;Port=3306;database=first_last;uid=root;pwd=[your-mysql-password];" } }

  • Run the command git init

  • Run the command git add .gitignore

  • Run the command cd HairSalon to navigate the HairSalon.Solutions\HairSalon main project folder

  • Run the command dotnet restore to install project dependencies

  • Run the command dotnet add package Microsoft.EntityFrameworkCore -v 5.0.0

  • Run the command dotnet add package Pomelo.EntityFrameworkCore.MySql -v 5.0.0-alpha.2

  • Run the command dotnet add package Microsoft.EntityFrameworkCore.Proxies -v 5.0.0

  • Run the command dotnet run to run the project in the browser

Known Bugs

  • New order and new vendor forms do not have all entries available yet.

License

MIT License: https://opensource.org/licenses/MIT

Copyright (c) 2021 Kim Brannian