Skip to content

DEMO app to search for organic/paleo/vegan/GF/keto foods at Trader Joe's. Yes I'm "that" person.

Notifications You must be signed in to change notification settings

natashaU/food_app

Repository files navigation

Healthy Helper

** Healthy eating has never been easier **

Try the app here with Heroku!

The App

Search for a food item at a grocery store and Healthy Helper will tell you if it meets your dietry concerns.

Healthy-eating involves months -- if not years -- of research, knowledge, and meticulously reading labels of every food item that you buy. Looking for something that's sugar-free? Do you want to start a Keto diet, but don't know where to begin? Curious to try Paleo out but you don't even know what the word even means? Healthy Helper is a virtual food label that categorizes your favorite items into different dietry concerns, so you'll never have to read another food label again.

Landing Page

Currently, in beta-testing with food items available at Trader Joe's, you can search for the following diets:

  • Organic
  • Paleo
  • Keto
  • Vegan
  • Gluten Free
  • Paleo

Add Page

This app searches for specific diets, by joining together two tables in PSQL and filtering the results for the diet_name, check out the filter function I wrote from the app's model:

  findDiet(filter) {
    return db.many(`
      SELECT food.id, food.name, food.img_url, food.review, diet.diet_name
        FROM food INNER JOIN diet
        ON food.diet_id = diet.id
        WHERE diet.diet_name = $/diet_name/
    ORDER BY id
    `, filter);
  },

Technologies used:

  • Node
  • EJS
  • PostgreSql
  • Express
  • SQL
  • Javascript

About

DEMO app to search for organic/paleo/vegan/GF/keto foods at Trader Joe's. Yes I'm "that" person.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published