Skip to content

A program to help a factory manager manage their engineers and machines, using a database with many-to-many relationships.

Notifications You must be signed in to change notification settings

kimwoojin211/Factory.Solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Dr. Sillystringz's Factory

Program to help a factory manager manage engineers and machines

By Woo Jin Kim

Technologies Used

  • C#
  • .NET 5.0.102
  • ASP.NET Core MVC 4.8
  • Razor
  • Entity Framework Core
  • MySql
  • Git

Description

An MVC web application that utilizes a database with many-to-many relationships to:

  • Display a list of Engineers and Machines, together and on separate pages
  • Select an engineer/machine and see their details, including the machines/engineers that are able to work together.
  • Add new engineers and machines to the database, even if there are no associated engineers/machines on addition.
  • Add or remove machines that an engineer is licensed to repair.
  • Add or remove licensed engineers from a machine.

Setup/Installation Requirements


Note: Make sure you have .NET 5.0 installed. If not, please visit this link

  • Clone this repository to your computer from this repository
  • In your terminal of choice, navigate to the Factory directory
  • Create a file named "appsettings.json" in this directory
  • Add the following lines of code to your newly created "appsettings.json" file and save.
{
  "ConnectionStrings": {
  "DefaultConnection": "Server=localhost;Port=3306;database=[YOUR DATABASE];uid=root;pwd=[YOUR PASSWORD];"
  }
}

NOTES: [YOUR PASSWORD] MUST be the same password as that on your local machine/server.
[YOUR USERNAME] is up to your discretion.
For help on database configuration, please see here


  • Back in the terminal, enter dotnet build and ensure that there are no errors
  • Enter dotnet ef database update into the terminal to build the database
    (Note: If a "Build failed" Error occurs, please try running dotnet ef migrations Add Initial in the terminal. )
  • Enter dotnet run into the terminal to run the application

Known Bugs

  • Styling currently does not work.

License

MIT

Contact Information

Woo Jin Kim ([email protected]) Copyright (c) 2021 Woo Jin Kim

About

A program to help a factory manager manage their engineers and machines, using a database with many-to-many relationships.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published