To run the project, follow these steps:
- Ensure you have Node.js and npm installed on your machine.
- Run
npm installto install the project dependencies. - Start the React development server by running
npm startin a separate terminal window. - To start the Electron app, run
npm run electron-dev. - To build the React app, run
npm run build. - If you encounter an issue with port 3000 being in use, create a
.envfile in the root directory of your project with the following content:Update thePORT=3001mainWindow.loadURLinmain.jsto use the new port number:Restart your development server and Electron app by runningmainWindow.loadURL('http://localhost:3001');
npm run electron-devagain.