UNPKG

sartorialists

Version:

This package returns clothing related json objects with descriptions of full outfits or individual garments.

75 lines (56 loc) 1.51 kB
# Wardrobe Project Notes ## MVP - Returns full outfit - Can choose whether it's masc, femme, or androgynous and its formality level - Clothing types - headwear - shirts & jackets - legwear - footwear - accessories - Individual garments should also have types - Fabric - Color - What else? - Should be able to return only specified types of clothing - Just shirts, for example - Will there need to be multiple varieties of clothing type? - I need one type to denote where on the body it goes, another for its traditional gender, and another for its formality. - I could see adding more as well. - Colorscheme? - You can pick a color scheme or maybe it coordinates the colors of the different pieces of clothing ## Design - Garment data structure - id name - presentation name - where on the body it is - formality - gender - Garment list data structure - divide by where on the body it is - list for shirts, pants, etc - json format - Functions - return full outfit - optional params - formality - gender - color? - should return object - we can stringify it on the other end if we want - return clothing specified by... - where on body - formality - gender - getGarment - parameters - gender - formality - where on body - color - have function specifically for each of those first three in order - femme - femme formal - femme formal headwear - getColor can be the same regardless -