A cashier application for Electron runtime. Tested on Windows, macOS and Linux.
Make sure you have Node.js installed, then type the following commands known to every Node developer...
git clone https://github.com/rndev80/cashier-app.git
cd cashier-app
npm install
npm start
...and you have a running desktop application on your screen.
npm start
Environmental variables are done in a bit different way (not via process.env
). Env files are plain JSONs in config
directory, and build process dynamically links one of them as an env
module. You can import it wherever in code you need access to the environment.
import env from "env";
console.log(env.name);
To package your app into an installer use command:
npm run release
Once the packaging process finished, the dist
directory will contain your distributable file.