Code Monkey home page Code Monkey logo

glamazon's Introduction

Glamazon

A one stop cosplay shop for looks that pop

Welcome to Glamazon, an imaginary cosplay shop specializing in outfits for imaginary adventures.

Our first challenge was attempting to use the npm package unicorn - alas, unicorn eluded our development team. Luckily, we found rainbow instead.

To begin your Glamazon adventure, enter "node db" at the command line.

glamazon start.png

Select your product from the menu of items. Or be difficult and ask for a unicorn.

glamazon productNotFound.png

If you choose to be difficult, our kindly shop-fairies will redisplay the menu of items. You may then choose a (real) product

glamazon productOutOfStock.png

Of course, we display the stock level on the menu, but if a user selects it anyway, our shop-fairies display a helpful message. In the future, we hope to develop a back order process for items that are temporarily out of stock (yet not impossible to obtain, like unicorns).

glamazon addToCart.png

Once you have selected a valid item, enter the quantity you wish to purchase. (We do not have support for trying to order more than what is in stock - you will likely encounter an error. This must've slipped our minds. I blame it on the a a a a a absinthe).

glamazon additionalItems.png

Our shop-fairies will helpfully ask if you would like to continue shopping. Of course you do! We will helpfully keep a running total for you. When you are finished, tell us you would no longer like to continue shopping.

glamazon endOrder.png

Our final message will present the total cost of your order. In the future, we'd also like to display your chosen items. But that is a future quest.

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.