Simplest tool to organize your day to day recipes & grocery list
JavaScript HTML CSS Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
app_icons
docs
.bowerrc
.editorconfig
.gitignore
.jshintrc
Gruntfile.js
README.md
bower.json
build-app.sh
config.xml
notes.md
package.json

README.md

Cookers

Daily food is no longer a hassle

Screenshot Screenshot Screenshot Screenshot Screenshot Screenshot

All screenshots

BUGs

  • le header de l'écran cuisine

TODO

  • notifications pour ne pas oublier l'application !

  • mise en favoris de recette

  • voir aléatoirement les recettes

  • next release :

    • compléter fiche produit :
      • quand on affiche un produit contenant un bon promo : réafficher le bon promo
      • afficher et pouvoir changer la quantité sur la fiche produit
    • espace blanc en bas de l'écran cuisine :(
    • status bar gradients (ex: https://github.com/AChep/HeadsUp/)
    • proposer de poster la photo du plat cuisiné sur les réseaux sociaux
    • créer un workflow de mail (côté serveur) et fonction des événements de tracking
    • sur la home et dans les recettes cuisiné, le display flex fait aller le texte à la ligne :(
    • accéder aux listes de courses archivées
  • téléphones posant problème :

    • GT-N7105 / galaxy note 2 / Adrien Henry
    • wiko ozzy (4.2.2) / Marion Pierlas
    • galaxy scl / Perrine Pierlas
    • GT-I9305 (4.1.2) / Isabelle Souty
    • Galaxy s3 / Julien Aubriet, Samir Bouaked, Isabelle Souty, Nicolas Nucci
    • galaxy tab 2 gt- p3113 / Benoit Reboul-salze
    • galaxy Ace / Benoit Reboul-salze
    • LG-D802 (4.2.2) / Alexis De Valence (problème affichage slides intro)
    • galaxy s2 / Jean-Baptiste Gabellieri
  • TODO

  • Tracking :

    • Liste des utilisateurs avec : email / created / last seen
    • utilisteurs uniques, par jour / semaine
    • popularité des recettes, pour une semaine
      • affichage des ingrédients
      • détails de la recettes
      • ajout de la recette
      • écran cuisine de la recette
      • recette cuisinée
    • ingrédients achetés
  • Backend features :

    • redimentionner les images à la taille du téléphone
    • track api
    • user profiles

Technical

Getting started

  • go to project root folder
  • npm install to install all grunt dependencies
  • bower install to install all bower dependencies
  • grunt serve to test on your computer

Your app is now running to your computer. To run it to your android device :

  • mkdir platforms plugins www create folders for cordova
  • cordova platform add android add android platform to the project
  • copy app/res/android in platforms/android/res (explanation)
  • cordova plugin add org.apache.cordova.device org.apache.cordova.console org.apache.cordova.splashscreen https://github.com/driftyco/ionic-plugins-keyboard org.apache.cordova.geolocation https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin.git org.apache.cordova.inappbrowser https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git org.apache.cordova.media https://github.com/loicknuchel/cordova-device-accounts.git https://github.com/Dbuggerx/BarcodeScanner.git org.apache.cordova.dialogs org.apache.cordova.vibration org.apache.cordova.camera https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git add interesting plugins
  • grunt build && cordova run android to run app on your phone

Grunt commands

  • grunt serve use it to develop. It will open your project in browser with live realod.
  • grunt ripple is an alternative to grunt serve. It will open your project in adobe ripple editor with live realod.
  • grunt build builds your sources and put them in www/ folder to deploy on your device.

Cordova plugin description

  • org.apache.cordova.device (0.2.11) : allow to get phone data (uuid, phone model, android version...)
  • org.apache.cordova.console (0.2.10) : not really sure of benefits but it's recommended (to have a better console.log)
  • https://github.com/driftyco/ionic-plugins-keyboard (1.0.3) : allow to listen and interract with keyboard
  • org.apache.cordova.geolocation (0.3.9) : allow to get precise user position (android.permission.ACCESS_COARSE_LOCATION et android.permission.ACCESS_FINE_LOCATION)
  • https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin.git (2.0.1) : allow to show toast messages
  • org.apache.cordova.inappbrowser (0.5.1) : allow to open some links outside the app (explanation)
  • https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git (4.0.1) : prevent screen to sleep
  • org.apache.cordova.media (0.2.12) : play sounds (for alarms in cook screen) (android.permission.WRITE_EXTERNAL_STORAGE, android.permission.RECORD_AUDIO, android.permission.MODIFY_AUDIO_SETTINGS, android.permission.READ_PHONE_STATE)
  • org.apache.cordova.file (1.3.0) : required by media plugin
  • https://github.com/loicknuchel/cordova-device-accounts.git (0.0.1) : to get user email (android.permission.GET_ACCOUNTS)
  • org.apache.cordova.camera (0.3.3) : provides an API for taking pictures and for choosing images from the system's image library (android.permission.WRITE_EXTERNAL_STORAGE)
  • https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git (4.3.10) : This plugin allows you to use the native sharing window of your mobile device. (android.permission.WRITE_EXTERNAL_STORAGE)

Interesting plugins :

Release process

  • change package & name in config.xml : com.cookers.android.dev => com.cookers.android and dev-Cookers => Cookers
  • increment version number and check that debug option is false : app/scripts/_config.js
  • run ./build-release.sh
  • Upload it to bitbucket and tag the commit with version number (ex: git tag v0.3.1 && git push --tags)
  • Then, rollback your changes (change config.xml and app/scripts/_config.js, then use ./build-debug.sh)

Publishing to market : http://ionicframework.com/docs/guide/publishing.html

Useful plugins

Ionic demo & composants :

Design

Inspirationnal apps :

Screenshot gallery inspiration :

Tools

See