This is a sample Electron project created using a script. The project structure includes both a Main and Second window with a basic build.
-
client/
- images/
- css/
- styles.css
- scripts/
- renderer.js
- renderer2.js
- index.html
- second.html
-
server/
- data/
- database/
- script/
-
main.js
-
.gitignore
-
LICENSE
-
README.md
The project contains both Main and Second windows, providing a foundation for a multi-window Electron application.
Organized project structure with dedicated folders for client-side and server-side resources.
Electron-Store is utilized to save paths conveniently as key-value pairs. This is useful for setting paths to images, databases, or user-defined paths.
Runs this in your terminal window. Answer the 2 questions
- What folder do you want to create. This should be your Project Name.
- Please enter the Path where to create this folder. Now you will need to type in the full path.
-
Installation:
- Clone this repository.
- Navigate to the project directory in your terminal.
-
Install Dependencies:
npm install
npm start
If needed, run the following command to rebuild SQLite3. npm run rebuild