conveyervision / conveyervisionUI

1 stars 0 forks source link

API - Floreant POS Integration #16

Open saadimalik211 opened 1 year ago

saadimalik211 commented 1 year ago

For MVP, we will integrated with Umai Sushi and the FloreantPOS system they use. We will want our integration to be easy to apply to other FloreantPOS systems.

We will want to consider common systems used by sushi/conveyer restaurants for integration. POS Integration should be an optional module that customers can pay extra for, as it is not necessary for the core application (conveyer management).

saadimalik211 commented 1 year ago

From chat:

I just chatted with Phil about the point of sale integration.

We have a pitcher (qr scanners) and a catcher (POS).

He setup the restaurant with FloreantPOS. It's an open source restaurant tool basically. He tweaked it and basically wrote some java to check a directory for files that contain some information like ID and info about the food to add to the bill. It then consumes this, and makes the calls to the DB to add to the POS system. This is the catcher.

The pitcher is the QR scanners, and it basically just writes the file. This is what bytevision will need to basically replicate. and I am pretty sure this is the code that is doing it:

Image

saadimalik211 commented 1 year ago
myWriter.write( tableNumber + "," + item.itemId + "," + item.quantity + "\n" );
                            LOGGER.info("\tItem: " + item.itemId + ", quantity: " + item.quantity );

This is probably the magic sauce.

When we need to tackle this, we can consult with Phil since he knows this inside and out.