The project allows Pierre to manage his shop. His shop has both treats and flavors assigned to categorize them. This web application allows him to manage those relationships, as well as store their data in MySQL.
By Austin Schrader, 1/8/2020
- Clone or Download this repository
- Navigate to the folder where you downloaded or cloned this repository
- Now open your terminal and navigate to Shop.Solution > Shop
- Type in
dotnet restore
to download necessary packages - Modify the file titled appsettings.json and input your MySQL password as the value for "pwd"
- Import the MySQL database
- Then type in
dotnet run
to run the application - Congratulations, this is the program!
- Open MySQL Workbench & enter in your MySQL password
- Navigate to Administration
- Click Data Import/Restore
- Click the 'Import from Self-Contained File' radio button
- Click the
...
button and navigate to the Downloaded/Cloned repository and double click on the SQL database - Select Dump Data & Structure
- Start Import
- Navigate to the project directory, in this case Shop.Solution > Shop
- Run
dotnet ef database update
to generate the MySQL Database using the migration - If you want to update the structure of the DB, first modify the models, then run:
dotnet ef migrations add {MIGRATIONNAMEHERE}
- Finally, run the
dotnet ef database update
to apply the migration to your MySQL database
- Download this repository by clicking the "Code" button and then copy the url
- Open a terminal and navigate to where you want the repository cloned to
- Type in
git clone REPOSITORYURLHERE
- Congratulations, you cloned the repository.
- Download this repository by clicking the "Code" button and then "Download Zip"
- Right click the downloaded file and "Unzip"
- Double click on the file that was just unzipped
- Congratulations, you downloaded the repository.
At this time, there are no known bugs. If you see spot a bug feel free to make a pull request.
- C#
- .NET Core 2.2
- MySQL & MySQL Workbench
- Object Oriented Programming
- MySQL
- MySQL Workbench
- Entity Framework
- Git
- Gitbash
- Github
This repository is licensed under the MIT license.
Copyright (c) 2020 by Austin Schrader