- C#
- MSTest
- .NET Framework
- HTML
- CSS
- Javascript
This is a C# web application for a bakery. Once run, the site will allow the baker, Pierre, to manage vendor and order relationships. The application is written in C# and uses the .NET 5.0 web framework
- To view this application, you must clone it to your computer. To do so,
- First, you will need to access a terminal. The easiest way to do so on either OS X (Mac) or Windows is to install Visual Studio (VS) Code.
- Once VS Code and Node.js are installed, navigate back to this project
- Locate and click the green Code button at the top of the page, and choose the option to Download ZIP.
- Once downloaded, navigate to your Downloads folder and extract the contents to a location of your choosing.
- Right click in the root directory of the folder, and choose Open With Code. This should open the repository in VS Code.
- Once the project is downloaded to your computer, you will need to download and install C# and the .NET SDK.
- First, download and install the .NET 5 SDK
- Once installed, open the project in VS Code (if it is not already open) and access a new terminal via the menu at top of VS Code.
- Type the following command: dotnet tool install -g dotnet-script
- Next, configure your terminal environment with the following command
-
Mac: echo 'export PATH=$PATH:~/.dotnet/tools' >> ~/.zshrc
-
Windows: echo 'export PATH=$PATH:~/.dotnet/tools' >> ~/.bash_profile
-
Now that everything is installed, you may run the project.
- Open up a new terminal and navigate to the VendorAndOrder Folder
- Type in the following command: dotnet run
- Open a web browser and navigate to http://localhost:5000
- Should you wish to make any changes to the code, you will need to run tests in order to confirm the code is still functioning as expected.
- Open up a new terminal and navigate to the VendorAndOrder.Tests Folder
- Type in the following command: dotnet test
- If there are any errors, please correct them before submitting a pull request.
- No known issues at this time
MIT
Copyright (c) 3-4-2022 Daniel Lindsey