Keep track of your Engineers and Machines with a click of a button. Save time with this data management program that syncs your engineers with the machines they are qualified to operate.
Spec | Example input | Example Output |
---|---|---|
The program takes a user input of a Machine and Machine Details as well as an engineer if there is an engineer | "Machine: Wild Thing, "Roller" Engineer:"Steve" | N/A |
The program allows user to EDIT Machine entry | N/A | N/A |
The program allows user to DELETE Machine entry | N/A | N/A |
The program displays user inputs of Machine and Engineer | N/A | "-Steve, Machine: Wild Thing" |
The program takes a user input of a Engineer and Engineer Details as well as a Machine the engineer can operate if there is a machine | "Name: Pat, "Mechanical engineer" "Machine: Wild Thing | N/A |
The program allows user to EDIT engineer entry | "N/A" | N/A |
The program allows user to DELETE engineer entry | N/A | N/A |
- Clone this repository onto your computer: "git clone https://github.com/chyoon2/Factory.Solution"
- Navigate into the "Factory.Solution" directory in Visual Studio Code or preferred text editor:
- Open the project "code ."
- Open your computer's terminal and navigate to the directory bearing the name of the program and containing the top level subdirectories and files.
- Enter the command "dotnet build" in the terminal and press "Enter".
- Enter the command "dotnet watch run" in the terminal and press "Enter".
- Create an 'appsettings.json' file in your root folder.
- Add the following code
{
"ConnectionStrings": {
"DefaultConnection": "Server=localhost;Port=3306;database=FIRSTNAME_LASTNAME;uid=root;pwd=YOURPASSWORD"
}
}
- In the YOURPASSWORD, add your password, if you're with epicodus enter 'epicodus'.
- This program's database name is set to lowercase 'chris_yoon'
- In your terminal run 'dotnet ef migrations add Initial'
- Then run 'dotnet ef database update'
- Refresh your Sql workbench to check for the 'chris_yoon' schema. You may have named it differently.
- When submitting an edit/update the program adds another engineer/machine into the list.
Reach out to chy.yoon@gmail.com for support.
- Visual Studio Code
- HTML
- CSS
- Bootstrap
- C#
- MVC
- MySQL Workbench
- Entity Framework
- .NET Core
Copyright (c) 2020 ** Chris Yoon**
This software is licensed under the MIT license.