point-of-sale

command module
v0.0.0-...-1daa502 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2017 License: GPL-3.0 Imports: 16 Imported by: 0

README

Point of Sale

Introduction

This application is two things. First, it is a point of sale system designed for small businesses that have an entry fee and also sell various items. Second, it is an introductory/example/demo programming application that bridges the gap between a hello world or TODO list example and advanced tutorials.

Additionally, it combines a printer for food orders and a food notification buzzer when coupled with a Raspberry Pi.

Dependencies

Languages
  • go
  • mysql
  • python (optional - for the buzzer)
Hardware (optional)

Note: the hardware will need to be connected together and configured. See the complete setup details for more information.

Install

You'll need glide to install the dependencies:

  • go get github.com/Masterminds/glide
Get the code
  • go get github.com/zramsay/point-of-sale
Install the dependencies
  • glide install
Create the database
  • mysql -u root -p -e "CREATE DATABASE myBusiness"
Load it
  • mysql -u root -p myBusiness < sample.sql
Compile and run the app
  • go build && ./point-of-sale -password yourMySQLpasswordHere
View it

See here for detailed installation and setup instructions.

Motivation

This app was built to address the needs of a small family business for which existing point of sale systems did not offer a solution. It doubles as an educational tool for budding developers by covering several concepts in as few lines of code as possible.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL