Giter Club home page Giter Club logo

feup-cmov's Introduction

FEUP-CMOV

Introduction

This app aims to supply a more efficient ordering and delivery system, incentivizing the customers to use it, through a loyalty campaign. The idea is for the customers compose previously their orders in the app, choosing items from a menu and their quantities, and transmit them, together with possible vouchers and identification data, to a terminal inside the house. After that, the customers only need to collect the ordered items at the counter when they are ready. Using the app, the customers should first make a registration (only once when they use the app for the first time) in the cafeteria remote service, supplying some personal data (name, NIF). The available items in the cafeteria can be obtained from the remote service at any time, as well as available emitted vouchers. These loyalty vouchers are offered whenever the customer accumulates purchases of a certain item and/or a total value.

Instructions

  • Download ngrok and run on port 8080.

    ngrok.exe http 8080 (in case you are running on windows)

    ngrok http 8080 (in case you are running on linux or mac)

  • Copy the domain corresponding to the HTTP URL given by ngrok and paste it inside AcmeCoffee/../java/../Utils/HttpHandler line 18 and inside ScanCodes../java/Utils/HttpHandler line 21.

    example: "2683b42c.ngrok.io"

  • Import the AcmeServer project as a Maven project under any IDE (we use IntelliJ).

  • After that, import the json jar that is in AcmeServer/src/main/resources as a librarie to the project. ( CTRL + ALT + SHIFT +S ) in IntelliJ, for example.

  • Install AcmeCoffee on one cellphone to run the main app.

  • Install ScanCodes on another cellphone to run the QRCode reader app.

    If you only have access to one cellphone you can run the AcmeCoffee on your Android Emulator and read the QRCode with ScanCodes like you would normally do with 2 cellphones.

Contributors

feup-cmov's People

Contributors

jpedrotm avatar tomasvcaldas avatar

Stargazers

 avatar

Watchers

James Cloos avatar  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.