This is a cross platform desktop billing application for fuel stations (in big enterprises) to
- track fuel filling records
- find mileages
- print receipts
- evaluate driver performances
This application is built using Electron with SQLite3 as the offline DB solutions. This application doesn't require any network connections.
Start the app in the dev
environment. This starts the renderer process in hot-module-replacement mode and starts a server sends hot updates to the renderer process:
$ npm run dev
You Run these two commands simultaneously in different console tabs:
$ npm run hot-updates-server
$ npm run start-hot-renderer
If you want to use Sass in your app, you only need to import .sass
files instead of .css
once:
import './app.global.scss';
To package apps for the local platform:
$ npm run package
To package app for Windows platform
npm run package-win
To package apps for all platforms:
First, refer to Multi Platform Build for dependencies.
Then,
$ npm run package-all
To package apps with options:
$ npm run package -- --[option]
To run the application without packaging run
$ npm run build
$ npm start
To run End-to-End Test
$ npm run build
$ npm run test-e2e
This project is based on electron-react-boilerplate developed by
MIT
tweet: @irraju