lethal-lemurs / bangazon-cli Goto Github PK
View Code? Open in Web Editor NEWThe Lethal Lemurs quest to create the ultimate CLI based shopping experience with testing, hair pulling, plagues, eminent alien invasions and flat tires.
The Lethal Lemurs quest to create the ultimate CLI based shopping experience with testing, hair pulling, plagues, eminent alien invasions and flat tires.
Revenue report for Svetlana:
Order #34
----------------------------------------------------
Marble 15 $21.43
Order #109
----------------------------------------------------
Kite 1 $5.12
Marble 5 $5.52
Total Revenue: $32.07
Enter payment type (e.g. AmEx, Visa, Checking)
>
Enter account number
>
Enter customer name
>
Enter street address
>
Enter city
>
Enter state
>
Enter postal code
>
Enter phone number
>
Pro tip: Investigate the SQL
Union
operation to fulfill these requirements
Product Orders Purchasers Revenue
*******************************************************
AA Batteries 100 20 $990.90
Diapers 50 10 $640.95
Case of Cracking... 40 30 $270.96
*******************************************************
Totals: 190 60 $1,902.81
-> Press any key to return to main menu
What will we use?
Choose product to delete:
1. Kite
2. Marbles
3. Refrigerator
>
Select a product to update:
1. Kite
2. Marbles
3. Refrigerator
>
1. Change title "Refrigerator"
2. Change description "It keeps things cold"
3. Change price "149.99"
4. Change quantity "1"
>
Enter new price:
>
Pro tip: To make it easier to add multiple products, when the user selects a product to add to the customer's order, display the menu of products again. Make sure the last option provides the option to go back to main menu.
1. Diapers
2. Case of Cracking Cola
3. Bicycle
4. AA Batteries
...
9. Done adding products
Which customer will be active?
1. John Q. Public
2. Svetlana Z. Herevazena
>
Sam has some code for this already.
If no products have been selected yet
Please add some products to your order first. Press any key to return to main menu.
If there are current products in an order
Your order total is $149.54. Ready to purchase
(Y/N) >
# If user entered Y
Choose a payment option
1. Amex
2. Visa
>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.