Skip to content

Frontend js app for pos with Reactjs, Electron use for cross eCommerce platform

License

Notifications You must be signed in to change notification settings

landofcoder/pos-app-frontend-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lof_POS Magento

This is a project base on Electron (a cross-platform desktop app with Javascript), use Magento 2 as backend manage products, orders, customers, checkout. However at now our team are not having more time to complete the project, so we published source code for contributers and we will back to develop when we have time.

Concept

We want to make a cross-platform POS frontend application for multi ecommerce Platform (Magento 2, Prestashop, Woocommerce,..)

  • We developed POS frontend app with Reactjs, Electron (we just published source code)
  • Backend we are using Magento 2 with some extensions support extra REST API, use magento 2 backend REST APIs (we published all modules repo)
  • Between POS app and Magento 2 backend we are using API Gateway with Nodejs, Mongodb, NestJS (it is simply management connector application)

How it work

POS How It Work

DEMO POS APP

View NestPos App for Magento 2

Installation Environment

For Linux System

Required install node ~12.x

sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install nodejs

Required install yarn 1.2x.x

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install yarn

For Window System

Required Node 12.x download

Node 12.x download

Required Yarn 1.2x.x download

Yarn 1.2x.x download

For MacOS System

Required Node 12.x download

Node 12.x download

Required Yarn 1.2x.x download

Required Setup Magento 2 site and setup list extesion for management and REST API

For API Gateway, you can setup after at here:

POS API Gateway

Installed homebrew first
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)

after that

brew install yarn

Check Environment

Check node version

node -v 

Check yarn version

yarn -v 

Develop Lof_POS app

Install node packages first

yarn install

Run develop app

yarn dev

Production Lof_POS app

Run bundler for POS to package

For custom build platform

For window

yarn package-win

For linux

yarn package-linux

Note: For the bundle for macOS (macOS machine required)

Bundle all package file supported (macOS, linux, windows)

yarn package-all

That takes a long time

With success all package stored at

/release
*.exe(windows)
*.deb(linux)
*.dmg(macOS)

Lof_POS license

Landofcoder license

Screenshots

POS Cash Payment

POS Custom Receipt

POS Choose Customer

POS Search by Sku

POS Dashboard

Donation

If this project help you reduce time to develop, you can give me a cup of coffee :)

paypal