From 56cb10cfe966dd496955122a1ed25ee9d4e020ce Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 21 Mar 2017 00:34:38 +0100 Subject: switch domain and add mock data --- .gitignore | 4 +- config/default.json | 4 +- mock/data/preparations.txt | 150 ++++++++++++++++++++++++++++ mock/data/products.default.txt | 216 +++++++++++++++++++++++++++++++++++++++++ mock/data/techniques.txt | 49 ++++++++++ 5 files changed, 419 insertions(+), 4 deletions(-) create mode 100755 mock/data/preparations.txt create mode 100755 mock/data/products.default.txt create mode 100755 mock/data/techniques.txt diff --git a/.gitignore b/.gitignore index a3bed33..b78a20a 100644 --- a/.gitignore +++ b/.gitignore @@ -27,8 +27,8 @@ node_modules # Users Environment Variables .lock-wscript -lib/ -data/ +./lib/ +./data/ *~ *.swp diff --git a/config/default.json b/config/default.json index 73eac90..c483c76 100644 --- a/config/default.json +++ b/config/default.json @@ -1,7 +1,7 @@ { "host": "localhost", - "port": 3030, - "mysql": "mysql://featherstest:password@localhost:3306/feathersTest", + "port": 3013, + "mysql": "mysql://calories:toptal@localhost:3306/calories", "public": "../public/", "auth": { "idField": "id", diff --git a/mock/data/preparations.txt b/mock/data/preparations.txt new file mode 100755 index 0000000..596d78f --- /dev/null +++ b/mock/data/preparations.txt @@ -0,0 +1,150 @@ +agua fresca +aioli +baguette +biscuits +bread +breading +brownie +buerre blanc +bun +burger +burger +butter +cake +candy +cannoli +caramel +carpaccio +casserole +caviar +ceviche +chantilly +cheesecake +chiffonade +chips +chutney +cider +cigarette +compote +confit +consomme +cookie +coulis +cream +croissants +crostini +croutons +curry +danish +donut +dough +dumpling +dust +duxelle +enchiladas +fajita +fesenjoon +fluid gel +foam +foccacia +fondant +foul +fries +frittata +fritters +fudge +galette +garnish +gastrique +gazpacho +glaze +gnocchi +goop +goulash +granite +gratin +hash +hummus +ice +ice cream +jelly +jolly rancher +juice +kebab +kibbi +kimchi +lasagna +lassi +latte +loaf +lollipop +milk +mille-fuile +moussaka +nigiri +noodles +oil +omelette +pancake +panzanela +parfait +pasta +pesto +phyllo pastry +pie +pierogi +pizza +porridge +pot pie +praline +profiterole +pudding +puree +quiche +ragout +ravioli +relleno +rings +rosti +roulade +salad +salt +sandwich +satay +sauce +sausage +scone +shavings +skin +sloppy joe +slurry +smoothie +soda +soil +souffle +soup +spanakopita +spread +stew +strudel +sushi roll +syrup +tabouleh +tacos +tahini +tamales +tart +tartare +tatin +tea +tempura +toast +tres leches +tuile +veloute +vinaigrette +vinegar +waffle +waffle cone +water +wrap diff --git a/mock/data/products.default.txt b/mock/data/products.default.txt new file mode 100755 index 0000000..bd6a82d --- /dev/null +++ b/mock/data/products.default.txt @@ -0,0 +1,216 @@ +acorn squash +agave +allspice +almond oil +apple +apricot +artichoke +arugula +asian pear +asparagus +avocado +avocado oil +baby coconut +balsamic +banana +basil +bay leaf +black bean +black pepper +black tea +black truffle +blood orange +blueberry +bok choy +brandy +broccoli +brown rice +brussels sprout +buckwheat +bulghur wheat +burnt sugar +butternut squash +cacao +cachaca +cannelini bean +cantaloupe +caper +caramel +caraway +cardamom +carrot +cashew +cauliflower +cava +cayenne +celery +celery root +celery seed +chambord +champagne +chanterelle mushroom +chickpea +chili +chipotle +chive +cilantro +cinnamon +citrus +clementine +clove +coconut +coconut oil +coffee +collard green +cornbread +cous cous +crimini mushroom +crookneck squash +cucumber +cumin +daikon +dark chocolate +de puy lentil +delicata squash +dill +dinosaur kale +eggplant +espresso +fava bean +fennel +fennel seed +fenugreek +flower +garlic +ghee +ginger +golden beet +grape +grape leaf +grapefruit +green tea +guinness +habanero +hanger steak +hazelnut +hibiscus +honey +honeydew +horseradish +huckleberry +icicle radish +jalapeno +jasmine +juniper +key lime +kidney bean +kiwi +kohlrabi +kumquat +lavender +leek +lemon +lemon verbena +lemongrass +lima bean +macadamia +macadamia oil +mango +maple syrup +marcona almond +marjoram +medjool date +mint +miso +mission fig +morel +mung bean +mustard seed +napa cabbage +nasturtium +nori +nutmeg +olive oil +onion +orange +orange flower +oregano +oyster mushroom +papaya +parmesan +parsley +parsnip +patty pan squash +peach +peanut +pear +pearl barley +pecan +pernod +picholine olive +pine nut +pineapple +pinot grigio +pinot noir +pinto bean +plum +pluot +poblano +pomegranate +pomelo +potato +pumpkin +quinoa +rainbow chard +raisin +raspberry +red cabbage +red kuri squash +red leaf lettuce +red pepper +refried bean +rhubarb +rice wine +romaine lettuce +rosemary +saffron +sage +sake +sauerkraut +savory +seitan +sesame +sesame oil +shallot +shiitake mushroom +smoked paprika +sour orange +soy +spinach +split pea +squash +squash blossom +strawberry +sweet potato +tempei +tequila +thai iced tea +thyme +tofu +tomatillo +tomato +turmeric +vanilla +vermouth +violet +walnut +walnut oil +wasabi +watermelon +wheat +white corn +white truffle +wild rice +yam +yuzu +zucchini diff --git a/mock/data/techniques.txt b/mock/data/techniques.txt new file mode 100755 index 0000000..733c2fd --- /dev/null +++ b/mock/data/techniques.txt @@ -0,0 +1,49 @@ +-baked +-battered +-braised +-candied +-encrusted +-fried +-injected +-macerated +-marinated +-perfumed +-poached +-scented +-seared +-smoked +-spiced +-stuffed +-wrapped +baby +blackened +carmelized +charred +chopped +curried +deep-fried +dehydrated +dried +drizzled +fermented +fresh +fresh squeezed +grilled +herbed +individually-wrapped +italian +jerked +liquid nitrogen +moroccan +partially hydrogenated +persian +pickled +polish +pulled +raw +roasted +salt-baked +sauteed +shaved +sous vide +truffled -- cgit v1.2.3-70-g09d2