{"id":15373848,"url":"https://github.com/boly38/electron-reactjs-boilerplate","last_synced_at":"2025-06-23T12:36:46.441Z","repository":{"id":223040293,"uuid":"758985403","full_name":"boly38/electron-reactjs-boilerplate","owner":"boly38","description":"Javascript ReactJS App with boilerplate as exe packager","archived":false,"fork":false,"pushed_at":"2024-02-19T13:05:45.000Z","size":485,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T13:06:38.865Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boly38.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-17T16:46:56.000Z","updated_at":"2024-02-17T20:17:21.000Z","dependencies_parsed_at":"2024-02-17T21:27:32.130Z","dependency_job_id":"1ff9d5c8-ec16-4529-9d5b-da500b0ab08a","html_url":"https://github.com/boly38/electron-reactjs-boilerplate","commit_stats":{"total_commits":3,"total_committers":2,"mean_commits":1.5,"dds":"0.33333333333333337","last_synced_commit":"994dd3b685225f1ee84412ee7b65c05f9ec9bc9c"},"previous_names":["boly38/electron-reactjs-boilerplate"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/boly38/electron-reactjs-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boly38%2Felectron-reactjs-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boly38%2Felectron-reactjs-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boly38%2Felectron-reactjs-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boly38%2Felectron-reactjs-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boly38","download_url":"https://codeload.github.com/boly38/electron-reactjs-boilerplate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boly38%2Felectron-reactjs-boilerplate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261480556,"owners_count":23164934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T13:56:32.027Z","updated_at":"2025-06-23T12:36:41.424Z","avatar_url":"https://github.com/boly38.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# electron-reactjs-boilerplate\n\n## Object\n- give a ready to use stack of \n    - ReactJS front-end, \n    - electron-based `.exe` packaging\n    - API and service based backend using node-dependency-injection\n- note that if you want to use Typescript based boilerplate, \n  your could checkout [electron-react-boilerplate/electron-react-boilerplate](https://github.com/electron-react-boilerplate/electron-react-boilerplate)\n\n\n## Usage\n### install\n\nTo start only one time\n````\ngit clone https://github.com/boly38/electron-reactjs-boilerplate.git\ncd electron-reactjs-boilerplate\nnpm install \u0026\u0026 cd front-end \u0026\u0026 npm install \u0026\u0026 cd ..\n````\n\n### dev\n- run this to develop front-end:\n````\n npm run dev:front-end\n npm run start-from-src\n # dont use app but your browser and open http://localhost:3000\n````\n\n- run this to build front-end and check executable app with it:\n````\n npm run start\n````\n\n- run this to re-run executable app without change on front-end (suppose you've built it in the past):\n````\n npm run start-from-src\n````\n### test\n````\n npm run test\n````\n\n### package\n- run this to build an executable and setup package:\n````\n npm run package\n````\n\n### reminder\nIn order to get tips: the way to unpack asar content, get last exe, get last setup. \n````\n npm run howto:unpack-binary\n npm run howto:run_unpacked_exe\n npm run howto:run_setup\n````\n\n## FAQ\n\n- why the executable size is so huge (~80/100MB) ?\n\nIDK exactly but electron embeds chromium and there is some cost related to this statement.\n\n- does exist alternative to electron to package a RectactJS application ?\n\nSure but there is a need to validate them: [pkg](https://github.com/vercel/pkg) (archived) - [NodeJS 21 single executable application](https://nodejs.org/api/single-executable-applications.html) - [nwjs](https://github.com/nwjs/nw.js) and probably more...\n\n\n## Contribute\n\nYou're welcome to push PR, questions or issue. Dont hesitate to be critic on existing content if you could suggest better.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboly38%2Felectron-reactjs-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboly38%2Felectron-reactjs-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboly38%2Felectron-reactjs-boilerplate/lists"}