Coder Social home page Coder Social logo

isos / point-of-sale Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coinculture/point-of-sale

0.0 1.0 0.0 63 KB

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

License: GNU General Public License v3.0

Go 95.32% Python 1.24% Shell 0.23% HTML 3.22%

point-of-sale's Introduction

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.

point-of-sale's People

Contributors

zramsay avatar danielhunt avatar ebuchman avatar

Watchers

albama 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.