Skip to content

umbreon222/drink-o-matic-web-interface

Repository files navigation

Drink-O-Matic Web Interface

A crude web interface for my Drink-O-Matic API (umbreon222/drink-o-matic) built with Angular.

About The Project

I was watching some YouTube videos about cool things to do with embedded systems when I came across something called a "barbot". It was an arduino powered cocktail bar which inspired me to try and make something similiar at a cost that wouldn't break the bank. Thus the "Drink-O-Matic" was born. This project is a bare minimum UI which wraps the API I came up with. If you're interested, you can read more over on my APIs README

Getting Started

Usage

  1. Update the environment files in src\environments to point to your instance of the Drink-O-Matic API.
  2. Start your Drink-O-Matic API with the "bff" (back-end for front-end) feature enabled

cargo run -r --features bff

  1. Start a dev server

ng serve

  1. Navigate to http://localhost:4200/
  2. Add & configure your ingredients

6. Assign your ingredients to the appropriate pumps

7. Create a cup (this helps with calculating how much of each ingredient to pump)

8. Create your drink

9. Make it!

Note: If you want this to be accessible to all devices on the network you can set the start command in package.json to ng serve --host=0.0.0.0

License

Distributed under the MIT License. See LICENSE.txt for more information. (back to top)