Coder Social home page Coder Social logo

bakery's Introduction

Pierre's Bakery

By Cory Nordenbrock

12/11/20

What does it do?

  • Pierre's Bakery is a basic console app that prompts a user with a friendly greeting and a menu to order bread and pastries from. After accepting the user's order and crunching the numbers for all of Pierre's sweet deals, the app returns the a transaction message that displays the total cost.

Why does it do?

  • This project was prompted by the wonderful people at Epicodus as a simple exercise in building an interactive console application--with an added development emphasis in using TTD. Utilizing MSTests for unit testing, this app currently runs eight successful tests to ensure proper functionality and maintain spiffiness of three custom classes that do all the under-the-hood heavy lifting for Pierre's Bakery (note: an establishment renowned for its fictionality).

Setup Instructions

Note: .NET Core must be installed for the following instructions (v 2.2 for current source code, later versions may be used by editing the <TargetFramework> element in Bakery.csproj to reflect the correct version).

  • To run program:
  1. Clone this repository: git clone https://github.com/cordenbrock/bakery.git
  2. Navigate to this specific directory from project folder root: cd bakery/Bakery
  3. Run the program in in your terminal with a dotnet run command (this will install the necessary dependencies and build the app).
  4. To exit, ctrl + C on Windows or cmd + C on Mac.
  • To run program tests:
  1. Navigate to this specific directory from project folder root: cd bakery/Bakery.Tests. If navigating from the aforementioned directory, be sure to first navigate "up" a folder, i.e. prepend a ../ to the path.
  2. Run the tests with a dotnet test command.

Built with/Tools used

  • C# v 7.3
  • .NET Core v 2.2
  • dotnet script, REPL
  • MSTests

Known Bugs/Future Improvements

  • Exception handling should be added

Legal

MIT License, (c) 2020 Cory Nordenbrock

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.