By Mike Pingel
This project is not in a complete or portfolio ready state, and should not be considered as representation of professional work.
An MVC application to manage machines and engineers at Dr. Sillystringz's Factory. Upon being greeted with a splash page, the user can add new machines and engineers as well as view engineers certified to repair specific machines. This project utilizes Entity to communicate with a MySQL database that stores machine and engineer data.
-
Go to the GitHub repository for this project: https://github.com/Pingel88/Factory.Solution.git.
-
At the top of the repository, click then select "Download ZIP".
-
Unzip the file, navigate to the 'Factory' folder to view code.
- Clone my repository from GitHub using
git clone https://github.com/Pingel88/Factory.Solution.git
in your terminal or GitBash - Navigate to the downloaded folder using
cd
command - Execute
code .
command in your terminal and it will open all source code in your code editor.
To run this project locally you will need to have .NET Core and MySQL, follow along with the Epicodus C# setup lessons to verify installation.
A GitHub page is not available for this project. To view functionality in your browser:
- Create a new database using migration through Entity
- Navigate to the 'Factory' folder in your terminal
- Enter
dotnet ef migrations add Initial
- Enter
dotnet ef database update
- Rename EDITMEappsettings.json in the 'Factory' folder to appsettings.json
- Open appsettings.json in VS Code or Notepad
- Enter your password in the DefaultConnection string (replacing
[PASSWORD]
) and save the file
- Enter your password in the DefaultConnection string (replacing
- If not already there, navigate to the 'Factory' folder in your terminal
- Enter
dotnet run
- Open your browser and visit http://localhost:5000
- C# 9
- .NET v5.0
- MySQL & MySQL Workbench
- ASP.NET Core MVC
- Entity Framework Core
- Razor
- HTML Helper
- REPL
- Git & GitHub
- When adding a machine certification to an engineer or vice versa, redundant engineer-machine relationships can be created.
© Michael Pingel, 2021