Giter Club home page Giter Club logo

burgers's Introduction

Welcome to Burger Party

Overview

Burger Party is a catering company providing Burgers, Fries and Drinks to parties.

The App

They want an app made where guests at the party can choose the food and drink they would like and a record made of the order, so they can prepare it for collection. This benefits the customer as they can make an order through the app and not have to physically queue. This also benefits the company by taking the pressure off of having a physical queue in front of them and allowing them to prepare the order in a more relaxed manner.

What the App does

  1. Welcomes the user
  2. Displays the choice of burgers (from the burgers sheet)
  3. Asks the user to choose a burger type
  4. The choice is validated to be a correct choice
  5. Asks the user to confirm their choice of burger
  6. Displays the choice of fries (from the fries sheet)
  7. Asks the user to choose a type of fries
  8. Asks the user to confirm their choice of fries
  9. Displays the choice of drinks (from the drinks sheet)
  10. Asks the user to choose a drink type
  11. Asks the user to confirm their choice of drink
  12. Asks the user if they would like to to add whisky to their drink
  13. If they want whisky they are asked for their date of birth
  14. If they are under 18 they are informed they are too young
  15. The order is confirmed to the user
  16. The order is added to the order worksheet

Testing

The main areas for testing have been carried out manually and evidenced in the images below:

  1. The user is welcomed

  1. The choice of burgers are displayed

These are taken from the Burgers sheet

  1. The user is asked to choose a burger type

  1. If the user choice is not a valid choice the user is prompted to try again

  1. Confirming burger choice

Whenever confirming a choice only a user input of Y, y, N or n is accepted

Entering an incorrect number

Entering an incorrect character

Entering an uppercase Y

Entering a lowercase y

Entering an uppercase N

Entering a lowercase n

  1. The choice of fries are displayed

These are taken from the fries sheet

  1. The user is asked to choose a type of fry

  1. If the user choice is not a valid choice the user is prompted to try again

  2. Displays the choice of drinks (from the drinks sheet)

  1. Asks the user to confirm their choice of drink

  1. Asks the user if they would like to to add whisky to their drink

  1. If they want whisky they are asked for their date of birth, which must be in the correct format

  1. If they are under 18 they are informed they are too young

  1. The order is relayed to the user

  1. The order is added to the order worksheet

Technologies Used

Main Languages Used

  • HTML
  • Python

Deployment

How the site was Deployed

The app was deployed to Heroku in the following way:

  • All dependencies must be added to the Requirements.txt file.

  • Once logged into Heroku, click the Create new app button.

  • Enter a unique name for the app, a region and click Create app.

  • In the Config Vars section of the Setting tab click Reveal Config Vars. Name a key "CREDS" and copy and paste the creds.json file into the corresponding Value. A further key named PORT should be created with the value of 8000.

  • Click Add buildpack in the Settings page and select Python and click to save changes. Repeat for Node.js.

  • Click the Deploy tab on the Application Confirmation page and select GitHub for connection method. Enter the name of the GitHub repository and click Connect.

  • Click to Automatically Deploy the app each time the master branch is updated.

  • Click Open App within the Application Configuration page to run the program.

How to Fork the Repository

  1. Log into GitHub or create an account.
  2. Select the GitHub Repository.
  3. Click "Fork" at the top right of the page.
  4. The repository will be copied into your GitHub account.

How to create a Clone using SSH

  1. Log into GitHub or create an account.
  2. Select the GitHub Repository.
  3. Click on the Code button.
  4. Copy the provided SSH link.
  5. Open Terminal.
  6. Navigate into the directory you want to clone the repository to.
  7. Type git clone and paste the copied URL.
$ git clone https://github.com/mjjstockman/burgers
  1. Press Enter.

Credits

Many thanks to the following which were used throughout the creation of this site:

Acknowledgements

  • Many thanks to my mentor for guidance.
  • Thank you to the Code Institute Slack community for their advice.

burgers's People

Contributors

mjjstockman avatar

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.