Skip to content

aesadin/Pierre_Bakery.Solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pierre's Bakery

An online ordering system

By Allison Sadin

Date 07/17/2020


DESCRIPTION

This application will allow the user to order a number of either pastry items or bread. The application will return the total cost of the user's order to them in the console.


SPECIFICATIONS

Spec Input Output
Create object constructor that will accept a UserInput typeOf(BreadOrder)
Validate UserInput against criteria (no negative numbers) -1 false
Create Method that returns order total for 1 loaf of bread NumberLoaves: 1 TotalBreadCost = 5
Create Method that returns order total for 2 loaf of bread NumberLoaves: 2 TotalBreadCost = 10
Create Method that adds 1 loaf for every two loaves purchased NumberLoaves: 2 TotalLoaves = 3
Create Method that adds OrderBread total and OrderPastry total together OrderBreadTotal: 10, OrderPastryTotal: 5 TotalCost = 15

SETUP & INSTALL

  • This program utilizes .NET version 2.2, and is a required instal for this program to function. Ensure .NET version 2.2 is installed before progressing.

  • Recommended browser for everything in life. Google Chrome.

  • Github repository

  • Windows/Mac Users: If modifying for personal use, dl Git here (v2.62.2)

  • Download Visual Studio Code (v1.45)

  • Download ZIP here OR if you are comfortable cloning a repo, copy the link as shown below.

cloning

  • this image shows you where to paste your copied link into VSCode

cloning

  • Once cloned, navigate to the {yourProgramName}.Tests file using $ cd {yourProgramName}.Tests and use $ dotnet restore to create bin and obj directories. Make sure to hide those files in your .gitignore.

  • Once the program has been built, navigate to your root directory using $ cd .. and type in command $ dotnet run


PROTECTING YOUR DATA

  • Step 1: create a .gitignore file in the top level of your project directory. populate the file as shown in step 1 of the image below.

  • Step 2: commit that .gitignore file (this prevents your sensitive information being shown to others). DO NOT PROCEED TO UNTIL YOU DO THIS!

  • Step 3: ignore step 3 for this project, as it does not utilize an API Key.

setup


Known Bugs

No Known Bugs, however business logic and UI logic not to completion 7/17/2020


Support and contact details

Questions, comments and concerns can be directed to the author(s) Allison Sadin


Technologies Used

Written in: Visual Studio Code

Image work: Adobe Photoshop

C#

.NET version 2.2

MSTest


License

alt text

Copyright (c) 2020 **Allison Sadin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages