Giter Club home page Giter Club logo

fridgy's Introduction

fridgy

image

Contributors

dedication, sweat and love

@seizmo @JensSchneiderOdacer @DanyD @phroggar

Cloud

  1. POS Konsole (Fridge-Bouncer)
  2. Backend-Server (Fridge-Manager)

Beide kommunizieren via REST. Die POS Konsole erhält beim Start bzw. alle x Minuten die folgenden Daten vom Backend: Produktliste und Nutzerliste. Wird ein Kauf abgeschlossen, so sendet die POS Konsole eine ORDER an den Backend Server mit Nutzer-Kennung + Warenkorb. Dadurch dass die Konsole nur vom Server via PULL Daten zieht kann die Konsole einfach auch in internen Netzwerken platziert werden, während das Backend in der Cloud läuft.

POS Hardware

Raspberry mit Display und NFC Reader Alternative: einfaches Android Tablet mit einem NFC Reader an Board

POS UX

Ablauf der GUI wäre:

  • Bildschirm zeig Info an, dass man sich anmelden soll "Lock-Screen"
  • Nutzer hält NFC Chip an Gerät -> Bildschirm zeigt angemeldeten Nutzer inkl. Kontostand + Produktauswahl
  • Nutzer klickt Produkte an ➡️ Diese landen im Warenkorb
  • Nutzer klickt auf Checkout ➡️ Order wird an Server gesendet und Feedback an Nutzer ob erfolgreich gebucht.
    • Wenn ja ➡️
    • Else: Rücksprung nach x Sekunden auf "Lock-Screen"
    • Alternativ: Abbruch -> Sprung auf Lock-Screen

Inspiration / Code Beispiel

https://developer.okta.com/blog/2018/02/15/build-crud-app-vuejs-node

Link to Documentation of Tools

Docker for Production

  • install Docker $ curl -sSL https://get.docker.com | sh

Local Development

  • Fire up two terminal windows
  • install Node and npm
  • run $ node src/server.js first in one winows
  • run $ npm run dev in the second one

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

fridgy's People

Contributors

simonneutert avatar phroggar avatar danyd avatar jensschneiderodacer avatar wieczo avatar

Forkers

mgablueend

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.