Git Product home page Git Product logo

open-farming-hackdays-label-creator's Introduction

open-farming-hackdays-label-creator

Lebensmittel Label Creator für Manufakturen und Direktvermarkter (Schweiz)

Challenge: https://hack.farming.opendata.ch/project/111

Live Demo / Prototype: https://jarheadcore.github.io/open-farming-hackdays-label-creator/

Prerequisites

  • install rust platform
  • install node platform

Install latest dioxus-cli from git (because of DioxusLabs/dioxus#2285)

cargo install --git https://github.com/DioxusLabs/dioxus.git dioxus-cli
cargo install cargo-make
rustup target add wasm32-unknown-unknown
npm install

Local Development

cargo make dev

and open http://localhost:8080/open-farming-hackdays-label-creator (without a trailing slash!)

Eingabefelder und Feldtypen

  1. Sachbezeichnung / “Name des Produkts" (Textfeld)
  2. Zutatenliste → muss mit “Zutaten:” auf der Etikette anfangen
    1. Mengenangabe → Absteigend nach Gewicht stortiert → (Textfeld)
    2. Produktauswahl über API (Schnittstelle) → vordefinierte Liste (Datalist, Textfeld)
    3. Herkunft? (Textfeld)
    4. Allergene herausarbeiten → in 1. Version via “Checkbox” Feld resp. vordefinierte Liste, Ausgabe auf Etikette fett markiert
    5. Typenbezeichnung (Was ist es? “Säuerungsmittel: E303”)
  3. Datumangabe → Selektion aus Tag, Monat Jahr (somit wäre Warenlos Angabe hinfällig) | “Zu verbrauchen bis” + “min. haltbar bis” (Info mit genaueren Angaben)
  4. Zusatzinformationen → Textfeld (Info: Haftungsausschlüsse, Kann Spuren von Nüssen enthalten, Gebrauchsanleitung etc..)
  5. (Nährwerte → in Version 1 nicht benötigt, kann/soll später über API gelöst werden)
  6. Aufbewahrungshinweise (Textfeld)
  7. (Warenlos / Chargennummer) → evtl. händische Eingabe → wird in Version 1 noch nicht benötigt da Datumsangabe mit Tag / Monat / Jahr angegeben wird
  8. Nettogewicht (inkl. Einheit → Gewicht oder Volumen) → Zahl + Einheit per Radio Button
  9. Abtropfmenge (Info mit genaueren Angaben)
  10. Produktionsland (vorselektiert Schweiz → keine Gültigkeit für Ausland!)
  11. Produktionsadresse (Bsp. Hans Muster AG, Teststrasse 1, CH-4000)
  12. Preis inkl. MwSt. → 2 Felder, 1x pro 100g, 1x für Totalpreis (Info: kann auch auf Regal angeschrieben werden)
  13. Zertifizierungsstelle → vordefinierte Auswahlliste (per API)

open-farming-hackdays-label-creator's People

Contributors

bar9 avatar dkoltg avatar jarheadcore avatar

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.