/Bakery.Solutions

My first C# project for Epicodus. A console app for a bakery website.

Primary LanguageC#

Pierre's Bakery

A C# Console App by David Sterry updated on 12/11/2020

Pierre's Bakery

A console app for a bakery. This console app present the user with the ability to purchase bread and/or pastries along with coffee. It correctly calculates the price based on the given rates, and returns the total to the user

Requirements

You will need to have an up to date browser installed such as Chrome or Firefox. You will need a code editor of your choice (like vscode) to view and launch the projec and .NET Core v2.2 much be installed. If you don't have .NET Core it can be downloaded here. Follow the prompts to download and install .NET Core before attempting to launch this project.

How to get this project

Download from Github:

  1. Use the browser navigate to my GitHub page respository
  2. Click the Green Code button and select Download Zip

Alternatively clone from Github via Gitbash:

  1. In your terminal, navigate to the folder where you would like to clone the project too
  2. Clone this repo to your chosen folder using "git clone https://github.com/Dave-Sterry/Bakery.Solutions in terminal

How to run this project

If you chose to download via zip

  1. Unzip the downloaded folder
  2. Open the root folder in your code editor
  3. Once you have the program open in your code editor, run dotnet restore Bakery.Test.csproj in the terminal to set the project up.
  4. After the project is sucessfully set up, navigate to the Bakery folder in the terminal.
  5. Then use the commmand dotnet run to start the console app.
  6. Follow the prompts and buy something from Pierre's Bakery!

If you cloned via Git

  1. In the terminal navigate to the folder the project is located in
  2. Open the root folder in your code editor using the code . command
  3. Once you have the program open in your code editor, run dotnet restore Bakery.Test.csproj in the terminal to set the project up.
  4. After the project is sucessfully set up, navigate to the Bakery folder in the terminal.
  5. Then use the commmand dotnet run to start the console app.
  6. Follow the prompts and buy something from Pierre's Bakery!

How to run tests

  1. Open the project in your coder editor.
  2. Navigate in the terminal to Bakery.Test/ModelTests.
  3. Run the command dotnet test.
  4. View tests results in the terminal.

Known Bugs

There are no known bugs at this time

Contact and Support details

Please contact me at sterry.david@gmail.com in regards to this project

Techknowlogies Used

  • C# v 7.30
  • .NET Core v 2.2
  • dotnet script
  • REPL
  • Git
  • VSCode

License

This project is licensed under MIT 2.0

Copyright (c) 2020 David Sterry