Search for products by thier category, name or id:
Select a product and update its data (change the image, product name, category, price and quantity)
Select a product or products and delete them
-
First you should have node installed: https://nodejs.org/en/download/
-
Clone this repo
-
Go to its directory
-
Run the following command:
npm install --save-dev electron
-
Open the following files /scripts/main.js && /scripts/login.js
-
Search for the firebase configuration bellow and replace it with yours
var firebaseConfig = { apiKey: "YOUR-API-KEY", authDomain: "example.firebaseapp.com", databaseURL: "https://example.firebaseio.com", projectId: "YOUR-PROJECT-ID", storageBucket: "example.appspot.com", messagingSenderId: "messagingSenderId", appId: "YOUR-appId" }
-
Add a node called 'login' to your firebase realtime database
{ login:{ username:"YOUR-USERNAME" password:"YOUR-PASSWORD" } }
-
Run the app:
npm start