An Electron application with React
- make sure that node and npm are installed by running the following commands
node -v
npm -v
NOTE: install them if they are not installed.
To create a setup for our electron application use the following:
npm create @quick-start/electron@latest
- Set as follwing:
- project name: pfcpi.
- choose react.
- select NO.
- select NO.
- select NO.
Enter your app directory
cd electron-app
install the required dependencies using this command
npm install
try your app
npm run dev
Build your app for windows!
- NOTE: make sure to run VSCODE as an administrator
npm run build:win
Please note that you should change the email accounts/SMPTP in the backend files for mailing services.
🎉 🎉 Congratulations