Skip to content

A demo application for budding programmers; also a DIY point of sale system for small business owners

License

Notifications You must be signed in to change notification settings

ElusKeyboard/point-of-sale

 
 

Repository files navigation

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.

About

A demo application for budding programmers; also a DIY point of sale system for small business owners

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 95.4%
  • HTML 3.2%
  • Python 1.2%
  • Shell 0.2%