Recipe Book
Last Updated: January 11th, 2021
A MVC web app to help you keep track of recipes. Users can input recipes, ingredients and modify exiting entries.
Name | GitHub Profile |
---|---|
Ben McFarland | Harzulu |
Jerrod Styrk | SJerrod |
Click to View
Scenario 01 | |
---|---|
Behavior | As the factory manager, I need to be able to see a list of all engineers, and I need to be able to see a list of all machines. |
Input | Click on "Engineers" or "Machines" link |
Output | Display page with list of names being links to all engineers or machines |
Completion | ✅ |
Scenario 02 | |
---|---|
Behavior | As the factory manager, I need to be able to select a engineer, see their details, and see a list of all machines that engineer is licensed to repair. I also need to be able to select a machine, see its details, and see a list of all engineers licensed to repair it. |
Input | Click link of specific engineer or machine |
Output | Display page with all given engineer or machine info and all connected engineers/machines |
Completion | ✅ |
Expand Tech/tools
- Once you have Git installed on your computer, go to this GitHub repository, click the "Fork" button in the upper right hand corner of the page, and clone this application with the following command:
git clone https://github.com/harzulu/Factory.Solution
.
- Download this .NET Core SDK (Software Development Kit). Clicking this link will prompt a .pkg file download from Microsoft.
- Open the .pkg file. This will launch an installer which will walk you through installation steps. Use the default settings the installer suggests.
- Confirm the installation is successful by opening your terminal and running the command
$ dotnet --version
, which should return something like:2.2.105
.
- Download this 64-bit .NET Core SDK (Software Development Kit). Clicking these links will prompt a .exe file download from Microsoft.
- Open the file and follow the steps provided by the installer for your OS.
- Confirm the installation is successful by opening a new Windows PowerShell window and running the command
dotnet --version
. You should see something a response like this:2.2.105
.
- Install dotnet script with the following terminal command:
dotnet tool install -g dotnet-script
.
- Once the project has been cloned to your computer and you have all the necessary items on your local computer, open the project in the application of your choice (Visual Code Studio was used and is recommended by the application builder)
You will need to create an appsettings.json
file in the Factory
folder.
Once you have the file made, put in this code:
{
"ConnectionStrings": {
"DefaultConnection": "Server=localhost;Port=3306;database=first_last;uid=root;pwd=PASSWORD;"
}
}
Make sure to have a MySQL server up and running on your machine on port 3306
Replace PASSWORD
with the password to your server created for this project
- First, using your terminal or command line, navgate to the HotelCRM folder in HotelCRM.Solution:
/Factory.Soulution/Factory
. - Next, run the command:
dotnet ef database update
. - You should have your database created for this project.
- Finally, run the command
dotnet build
to get bin/ and obj/ folders downloaded, thendotnet run
to run the application. The program should be connected to a localhost port, most likely 5000. Your terminal or command line should specify which port it is on. - Type into your web browser
http://localhost:[PORT_NUMBER]/
to view the project.
- Ben McFarland benrmcfarland@gmail.com
- Jerrod Styrk jstyrk@citadel.edu
No known bugs or issues
Copyright (c) 2021 Ben McFarland, Jerrod Styrk