Skip to content

tokenplatform/nanopos

 
 

Repository files navigation

nanopos

MIT license Pull Requests Welcome IRC

A simple Lightning ⚡ point-of-sale system with a clean & minimal web UI.

  • Optimized for places selling fixed-price items (like coffee shops, falafel stands or barber shops), but also has an option for billing custom amounts.
  • Small codebase (~60 server-side LoC + ~70 client-side LoC), great starting point for developing your own Lightning Charge apps!

Powered by ⚡ Lightning Charge.

Setup

$ git clone https://github.com/ElementsProject/nanopos && cd nanopos $ npm install $ cp items.yaml.example items.yaml # edit to set your items $ cp env.example .env # edit to set configuration options (all are optional except for CHARGE_TOKEN) $ npm start

Example items file

tea: price: 0.02 title: Green Tea # title is optional, defaults to the keys coffee: price: 1 bamba: price: 3 beer: price: 7 hat: price: 15 tshirt: price: 25 

Example configuration file

export CHARGE_TOKEN=myAccessTokenForCharge export CHARGE_URL=http://localhost:9112 export TITLE='Lightning Nano PoS' export CURRENCY=USD

Screenshots

License

MIT

About

A (very) simple Lightning ⚡ point-of-sale system, powered by Lightning Charge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 69.4%
  • HTML 29.7%
  • Shell 0.9%